*** empty log message ***
This commit is contained in:
parent
957b870966
commit
cd708bcfb0
2 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ int msgQueueRem(msgQueue * queue, msgQueueElemId oldElemId){
|
||||||
msgQueueElem * queueOldHeadElem;
|
msgQueueElem * queueOldHeadElem;
|
||||||
|
|
||||||
|
|
||||||
if (strcmp(queue->headId,queue->tailId)==0){
|
if (strcmp(queue->headId,queue->id)==0){
|
||||||
NZG_ERROR("msgQueueElemRem : Empty queue",queue->id);
|
NZG_ERROR("msgQueueElemRem : Empty queue",queue->id);
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,5 +39,6 @@ int main(void) {
|
||||||
printf("Get..."); fflush(stdout);
|
printf("Get..."); fflush(stdout);
|
||||||
montext=msgGet(mSPAC,0,0);
|
montext=msgGet(mSPAC,0,0);
|
||||||
printf("get-ok\n");
|
printf("get-ok\n");
|
||||||
|
printf("### test Reception %d ###\n",(int)*montext);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue