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); }