From a07eced551fb72810ac0c55b9e375b96ecf4d26d Mon Sep 17 00:00:00 2001 From: glenux Date: Mon, 23 Feb 2004 23:02:21 +0000 Subject: [PATCH] *** empty log message *** --- src/queueDelete.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/queueDelete.c b/src/queueDelete.c index a885ea6..cb3c6d7 100644 --- a/src/queueDelete.c +++ b/src/queueDelete.c @@ -14,10 +14,10 @@ int msgQueueElemDelete(msgQueueElemId queueElemId){ goto ERROR; } - if (nextIdToDie != queueElemId){ - return msgQueueElemDelete(nextIdToDie); - } else { + if (strcmp(nextIdToDie,queueElemId)==0){ return 0; + } else { + return msgQueueElemDelete(nextIdToDie); }