From 06b58ca561e61742760247847fbc98f25b84942c Mon Sep 17 00:00:00 2001 From: glenux Date: Thu, 26 Feb 2004 10:52:40 +0000 Subject: [PATCH] *** empty log message *** --- Makefile | 3 +-- test/msgSpaceState.c | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 56fd5ec..9e66f31 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,7 @@ subdir: $(MAKE) -C test/ doc: - ( cd src/ ; \ - $(MAKE) doc ) + $(MAKE) -C doc/rapport clean: $(MAKE) clean -C src/ diff --git a/test/msgSpaceState.c b/test/msgSpaceState.c index 85ba668..14a62ab 100644 --- a/test/msgSpaceState.c +++ b/test/msgSpaceState.c @@ -19,8 +19,8 @@ int about(char * spaceId){ } else { int err; msgSpaceListLock(); - err=msgSpaceListFindId(spaceId); - msgSpaceListUnlock(); + err=msgSpaceListFindId(spaceId); + msgSpaceListUnlock(); if (err < 1){ if (err==0){ // le msgSpace existe @@ -59,6 +59,7 @@ int about(char * spaceId){ // zut, il y a soit une erreur NZG_ERROR("spaceListFindId : error ",spaceId); } + } else { // on quitte : l'element n'existe fprintf(stderr,"Ident %s does not exist.\n",spaceId); }