[srvx-commits] CVS: services/src proto-p10.c,1.3,1.4
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-07-04 02:46:32
|
Update of /cvsroot/srvx/services/src
In directory usw-pr-cvs1:/tmp/cvs-serv9284/src
Modified Files:
proto-p10.c
Log Message:
fix an off-by-one parsing bug (from adding the "origin" argument to protocol handlers)
Index: proto-p10.c
===================================================================
RCS file: /cvsroot/srvx/services/src/proto-p10.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** proto-p10.c 2 Jul 2002 00:25:16 -0000 1.3
--- proto-p10.c 4 Jul 2002 02:46:29 -0000 1.4
***************
*** 1036,1040 ****
struct chanNode *cn;
! if (argc < 3) return 0;
if (!(user = GetUserH(origin))) {
log(MAIN_LOG, LOG_ERROR, "Unable to find user %s joining a channel\n", origin);
--- 1036,1040 ----
struct chanNode *cn;
! if (argc < 2) return 0;
if (!(user = GetUserH(origin))) {
log(MAIN_LOG, LOG_ERROR, "Unable to find user %s joining a channel\n", origin);
|