From e90afc9c1a0ea0c68b3a3528ad907174244482b6 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 8512dbb..dcc051d 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,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); }