projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e6769
)
Remove newline from log message.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Mar 2012 13:45:20 +0000
(14:45 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Mar 2012 13:45:20 +0000
(14:45 +0100)
src/logger.c
patch
|
blob
|
history
diff --git
a/src/logger.c
b/src/logger.c
index
f886ba4
..
6765cc5
100644
(file)
--- a/
src/logger.c
+++ b/
src/logger.c
@@
-75,7
+75,7
@@
void reopenlogger() {
fflush(logfile);
FILE *newfile = fopen(logfilename, "a");
if(!newfile) {
- logger(LOG_ERR, "Unable to reopen log file %s: %s
\n
", logfilename, strerror(errno));
+ logger(LOG_ERR, "Unable to reopen log file %s: %s", logfilename, strerror(errno));
return;
}
fclose(logfile);