aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/server.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server.c b/src/server.c
index 035adbe..9604bd6 100644
--- a/src/server.c
+++ b/src/server.c
@@ -21,9 +21,7 @@ void server_destroy(const struct server *server)
static int msg_handle(const struct msg *msg, void *)
{
- for (int i = 0; i < msg->argc; ++i)
- printf("msg[%d]: %s\n", i, msg->argv[i]);
- return 0;
+ return msg_dump_unknown(msg);
}
static int server_handle(int fd, void *)