summaryrefslogtreecommitdiffstats
path: root/server-msg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 22:04:01 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-10-04 22:04:01 +0000
commit26b340964a55f754a3001c18598f670d20578777 (patch)
treecbb50f760ffe96ad17e4e3495ec0fe4a3a8a9a74 /server-msg.c
parent75e1e4b91e083c82f48de5f426b3cfc6c7c5a7df (diff)
Lose command index enum in favour of runtime-calculated index.
Diffstat (limited to 'server-msg.c')
-rw-r--r--server-msg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/server-msg.c b/server-msg.c
index 701300f5..41f4aa63 100644
--- a/server-msg.c
+++ b/server-msg.c
@@ -1,4 +1,4 @@
-/* $Id: server-msg.c,v 1.24 2007-10-04 19:03:52 nicm Exp $ */
+/* $Id: server-msg.c,v 1.25 2007-10-04 22:04:01 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -115,8 +115,7 @@ server_msg_fn_command(struct hdr *hdr, struct client *c)
buffer_read(c->in, &data, sizeof data);
cmd = cmd_recv(c->in);
- log_debug("got command %u %s from client %d",
- cmd->entry->type, cmd->entry->name, c->fd);
+ log_debug("got command %s from client %d", cmd->entry->name, c->fd);
ctx.error = server_msg_fn_command_error;
ctx.print = server_msg_fn_command_print;