[Cvs-nserver-commits] CVS: cvs-nserver/src lsmodules.c,1.1.2.5,1.1.2.6
Brought to you by:
tyranny
From: Alexey M. <mo...@us...> - 2002-05-30 13:54:55
|
Update of /cvsroot/cvs-nserver/cvs-nserver/src In directory usw-pr-cvs1:/tmp/cvs-serv16080 Modified Files: Tag: NCLI-1-11-1 lsmodules.c Log Message: BUGFIX: stupid bug leading to client SIGSEGV fixed Index: lsmodules.c =================================================================== RCS file: /cvsroot/cvs-nserver/cvs-nserver/src/Attic/lsmodules.c,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -d -r1.1.2.5 -r1.1.2.6 --- lsmodules.c 22 May 2002 22:48:24 -0000 1.1.2.5 +++ lsmodules.c 30 May 2002 13:54:46 -0000 1.1.2.6 @@ -266,6 +266,8 @@ lsmodules(int argc, char **argv) { int c; + if (argc == -1) + usage(lsmodules_usage); mod_list = UNDEF_MOD_LIST; /* Set to initial value */ |