summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-12-21 14:07:17 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-12-21 14:09:00 +0100
commit07dcb5af12b81eec16fd023247d6f723b0206f3d (patch)
tree75e89de10a84d2dee911d4524b2587cabbbbbf82 /src/server
parent29d2d15f3fe66d611bc5e9e7ad36af704491a1c1 (diff)
downloadopenocd+libswd-07dcb5af12b81eec16fd023247d6f723b0206f3d.tar.gz
openocd+libswd-07dcb5af12b81eec16fd023247d6f723b0206f3d.tar.bz2
openocd+libswd-07dcb5af12b81eec16fd023247d6f723b0206f3d.tar.xz
openocd+libswd-07dcb5af12b81eec16fd023247d6f723b0206f3d.zip
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 <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/server.c b/src/server/server.c
index 1feb744b..70d9566a 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;
}