projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d08eb1
)
Remove newlines from log messages.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 28 May 2011 21:42:18 +0000
(23:42 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 28 May 2011 21:42:18 +0000
(23:42 +0200)
src/node.c
patch
|
blob
|
history
src/subnet.c
patch
|
blob
|
history
diff --git
a/src/node.c
b/src/node.c
index
d6156b6
..
cf70f83
100644
(file)
--- a/
src/node.c
+++ b/
src/node.c
@@
-142,7
+142,7
@@
node_t *lookup_node_udp(const sockaddr_t *sa) {
void update_node_udp(node_t *n, const sockaddr_t *sa) {
if(n == myself) {
- logger(LOG_WARNING, "Trying to update UDP address of myself!
\n
");
+ logger(LOG_WARNING, "Trying to update UDP address of myself!");
return;
}
diff --git
a/src/subnet.c
b/src/subnet.c
index
f010e4e
..
47f1436
100644
(file)
--- a/
src/subnet.c
+++ b/
src/subnet.c
@@
-273,7
+273,7
@@
bool str2net(subnet_t *subnet, const char *subnetstr) {
bool net2str(char *netstr, int len, const subnet_t *subnet) {
if(!netstr || !subnet) {
- logger(LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!
\n
", netstr, subnet);
+ logger(LOG_ERR, "net2str() was called with netstr=%p, subnet=%p!", netstr, subnet);
return false;
}