From b4dcb8d771035b82c8ffa1d4084725e5dee88995 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 19 Nov 2009 12:30:15 +0100 Subject: [PATCH] Added debugging statements to the send_command function. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 1130394..2b59cbf 100644 --- a/src/main.c +++ b/src/main.c @@ -348,6 +348,7 @@ static int send_command (mt_connection_t *c, /* {{{ */ if (status != 0) return (status); + mt_debug ("send_command: command = %s;\n", command); status = buffer_add (&buffer_ptr, &buffer_size, command); if (status != 0) return (status); @@ -357,6 +358,7 @@ static int send_command (mt_connection_t *c, /* {{{ */ if (args[i] == NULL) return (EINVAL); + mt_debug ("send_command: arg[%zu] = %s;\n", i, args[i]); status = buffer_add (&buffer_ptr, &buffer_size, args[i]); if (status != 0) return (status); -- 2.11.0