*** empty log message ***
This commit is contained in:
parent
1117dd6078
commit
2c06a34e12
1 changed files with 19 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
||||||
|
#include "libnazgul.h"
|
||||||
|
|
||||||
|
int msgQueueElemDelete(msgQueueElemId queueElemId){
|
||||||
|
msgQueueElem * queueElemAddr;
|
||||||
|
msgQueueElemId nextIdToDie;
|
||||||
|
|
||||||
|
queueElemAddr = msgQueueElemOpen(queueElemId);
|
||||||
|
msgQueueElemClose(queueElem);
|
||||||
|
if (nextIdToDie != NULL){
|
||||||
|
return msgQueueElemDelete(nextIdToDie);
|
||||||
|
} else {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ERROR:
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue