Commit 07dcb5af authored by Øyvind Harboe's avatar Øyvind Harboe
Browse files

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: default avatarØyvind Harboe <oyvind.harboe@zylin.com>
parent 29d2d15f
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment