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:
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 d6156b6a319945e456bec8f3c68690e0b569101b..cf70f8380e12df58641c01d03740135dc3252b13 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 f010e4ead64458875a4d97477ad53aa93e4c3fb5..47f14366c10127b1d30f488eea79662e5bb85836 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;
}