From 4b9db8220a1999708878b3d0cad645623d72eb4b Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 25 May 2006 20:39:49 +0000 Subject: [PATCH] Relay server connect fixes --- mbtask/taskibc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c index 03d5af28..76e5cd6e 100644 --- a/mbtask/taskibc.c +++ b/mbtask/taskibc.c @@ -1020,6 +1020,8 @@ int command_server(char *hostname, char *parameters) unsigned int token; int i, j, ihops, found = FALSE; + Syslog('c', "IBC: cmd_server(%s, %s)", hostname, parameters); + name = strtok(parameters, " \0"); hops = strtok(NULL, " \0"); token = atoi(strtok(NULL, " \0")); @@ -1035,6 +1037,8 @@ int command_server(char *hostname, char *parameters) } } + Syslog('c', "IBC: found=%s", found ?"True":"False"); + if (found && fullname == NULL) { send_msg(i, (char *)"400 SERVER: Not enough parameters\r\n"); return 400;