From: Øyvind Harboe Date: Tue, 21 Dec 2010 13:07:17 +0000 (+0100) Subject: server: remove error value from LOG_INFO X-Git-Tag: v0.5.0-rc1~266 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=07dcb5af12b81eec16fd023247d6f723b0206f3d server: remove error value from LOG_INFO the error values is not part of the interface to the user, so they should never be printed in LOG_INFO or LOG_USER. Printing them in LOG_DEBUG() rarely makes much sense but is OK. Signed-off-by: Øyvind Harboe --- diff --git a/src/server/server.c b/src/server/server.c index 1feb744b46..70d9566a36 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -485,7 +485,7 @@ int server_loop(struct command_context *command_context) shutdown_openocd = 1; } remove_connection(service, c); - LOG_INFO("dropped '%s' connection - error %d", service->name, retval); + LOG_INFO("dropped '%s' connection", service->name); c = next; continue; }