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>
This commit is contained in:
parent
29d2d15f3f
commit
07dcb5af12
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue