[ekg2-commit] ekg2: commands.c (HEAD) [peres]
CVS commit
cvs w toxygen.net
Śro, 5 Wrz 2007, 16:08:46 CEST
Module name: ekg2
Changes by: peres 2007-09-05 16:08:44
Modified files:
commands.c
Log message:
My mistake.
Index: commands.c
===================================================================
RCS file: /home/cvs/ekg2/ekg/commands.c,v
diff -d -u -r1.293 -r1.294
--- commands.c 4 Sep 2007 19:47:05 -0000 1.293
+++ commands.c 5 Sep 2007 14:08:43 -0000 1.294
@@ -2756,16 +2756,18 @@
return res;
}
- xfree(line_save);
-
if (cmdlen) { /* if not empty command typed: ("") and we didn't found handler for it... [was: xstrcmp(cmd, "")] */
- if (config_slash_messages == 2 && target && *xline == '/')
+ if (config_slash_messages == 2 && target && *xline == '/') {
+ xfree(line_save);
return command_exec_format(target, session, quiet, ("/ %s"), xline);
+ }
quiet = quiet & 2;
printq("unknown_command", cmd); /* display warning, if !(quiet & 2) */
}
+ xfree(line_save);
+
return -1;
}
Więcej informacji o liście dyskusyjnej ekg2-commit