projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29d2d15
)
server: remove error value from LOG_INFO
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 21 Dec 2010 13:07:17 +0000
(14:07 +0100)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 21 Dec 2010 13:09:00 +0000
(14:09 +0100)
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>
src/server/server.c
patch
|
blob
|
history
diff --git
a/src/server/server.c
b/src/server/server.c
index 1feb744b46569e9fa3ffcf9ef9bee96629c4e676..70d9566a3624f4005ff4db85eb223906ab384034 100644
(file)
--- 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;
}