From 4abbd7c00f644f3f80d637ed2a745a7360c6a95b Mon Sep 17 00:00:00 2001 From: glenux Date: Wed, 25 Feb 2004 12:00:13 +0000 Subject: [PATCH] *** empty log message *** --- src/queueRem.c | 2 +- test/put_get.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/queueRem.c b/src/queueRem.c index d526b51..d35b2cf 100644 --- a/src/queueRem.c +++ b/src/queueRem.c @@ -6,7 +6,7 @@ int msgQueueRem(msgQueue * queue, msgQueueElemId oldElemId){ msgQueueElem * queueOldHeadElem; - if (strcmp(queue->headId,queue->tailId)==0){ + if (strcmp(queue->headId,queue->id)==0){ NZG_ERROR("msgQueueElemRem : Empty queue",queue->id); goto ERROR; } diff --git a/test/put_get.c b/test/put_get.c index 2c17c6d..fb1aa94 100644 --- a/test/put_get.c +++ b/test/put_get.c @@ -39,5 +39,6 @@ int main(void) { printf("Get..."); fflush(stdout); montext=msgGet(mSPAC,0,0); printf("get-ok\n"); + printf("### test Reception %d ###\n",(int)*montext); return 0; }