[srvx-commits] CVS: services/src modcmd.c,1.65,1.66
Brought to you by:
entrope
From: Entrope <en...@us...> - 2003-08-20 08:08:57
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv21919/src Modified Files: modcmd.c Log Message: make "bind service ignored *module.*" work (as one would expect) Index: modcmd.c =================================================================== RCS file: /cvsroot/srvx/services/src/modcmd.c,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -r1.65 -r1.66 *** modcmd.c 18 Aug 2003 19:35:13 -0000 1.65 --- modcmd.c 20 Aug 2003 00:36:06 -0000 1.66 *************** *** 984,988 **** struct module *module; *dot = 0; ! module = module_find(cmdname); if (!module) { reply(MSG_MODULE_UNKNOWN, cmdname); --- 984,988 ---- struct module *module; *dot = 0; ! module = module_find((cmdname[0] == '*') ? cmdname+1 : cmdname); if (!module) { reply(MSG_MODULE_UNKNOWN, cmdname); |