mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user