diff options
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 |
commit | 07dcb5af12b81eec16fd023247d6f723b0206f3d (patch) | |
tree | 75e89de10a84d2dee911d4524b2587cabbbbbf82 /src/server | |
parent | 29d2d15f3fe66d611bc5e9e7ad36af704491a1c1 (diff) | |
download | openocd+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.c | 2 |
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; } |