From: Martin Vajnar Date: Sun, 7 Jul 2013 17:13:41 +0000 (+0200) Subject: JORTE: alter sendCallBack X-Git-Tag: v0.3.4~130 X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/commitdiff_plain/3f8f7132c148dbd2a00cbac47a8813f5e858043a JORTE: alter sendCallBack Alter the sendCallBack, so it doesn't scramble the sent instance. --- diff --git a/orte/libjorte/JORTEPublicationCreate.c b/orte/libjorte/JORTEPublicationCreate.c index 28a26d4..42b6f36 100644 --- a/orte/libjorte/JORTEPublicationCreate.c +++ b/orte/libjorte/JORTEPublicationCreate.c @@ -48,9 +48,9 @@ sendCallBack(const ORTESendInfo *info,void *vinstance, void *sendCallBackParam) switch (info->status) { case NEED_DATA: - printf(":c:PUB: Sampling publication, count %d\n", counter); + printf(":c:PUB: Sampling publication, count %d\n", counter++); printf(":c:PUB: !! DOCASNE - ZRUSIT!! - callback() u Publishera \n"); - sprintf(instance,"Hello Universe! (%d)",counter++); + //sprintf(instance,"Hello Universe! (%d)",counter++); break; case CQL: //criticalQueueLevel break;