Browse Source

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>
tags/v0.5.0-rc1
Øyvind Harboe 11 years ago
parent
commit
07dcb5af12
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/server.c

+ 1
- 1
src/server/server.c View File

@@ -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…
Cancel
Save