projects
/
oweals
/
tinc.git
/ 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 f886ba4c0d7d38dd434a4cf61bef68bd11f6d512..6765cc5abeba7994b1283734714577eeb44f3bf1 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);