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:
3671ed8
)
Remove newlines from log messages.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 3 Aug 2003 12:38:43 +0000
(12:38 +0000)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 3 Aug 2003 12:38:43 +0000
(12:38 +0000)
src/netutl.c
patch
|
blob
|
history
src/protocol.c
patch
|
blob
|
history
diff --git
a/src/netutl.c
b/src/netutl.c
index ef9a6608da73630986eec431552160a3ce2d506f..7a214702b4e072336bf3c04a3295726d1208cc1f 100644
(file)
--- a/
src/netutl.c
+++ b/
src/netutl.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: netutl.c,v 1.12.4.5
1 2003/07/30 11:50:45
guus Exp $
+ $Id: netutl.c,v 1.12.4.5
2 2003/08/03 12:38:43
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-47,7
+47,7
@@
struct addrinfo *str2addrinfo(const char *address, const char *service, int sock
err = getaddrinfo(address, service, &hint, &ai);
if(err) {
err = getaddrinfo(address, service, &hint, &ai);
if(err) {
- logger(LOG_WARNING, _("Error looking up %s port %s: %s
\n
"), address,
+ logger(LOG_WARNING, _("Error looking up %s port %s: %s"), address,
service, gai_strerror(err));
return NULL;
}
service, gai_strerror(err));
return NULL;
}
@@
-70,7
+70,7
@@
sockaddr_t str2sockaddr(const char *address, const char *port)
err = getaddrinfo(address, port, &hint, &ai);
if(err || !ai) {
err = getaddrinfo(address, port, &hint, &ai);
if(err || !ai) {
- logger(LOG_ERR, _("Error looking up %s port %s: %s
\n
"), address, port,
+ logger(LOG_ERR, _("Error looking up %s port %s: %s"), address, port,
gai_strerror(err));
cp_trace();
raise(SIGFPE);
gai_strerror(err));
cp_trace();
raise(SIGFPE);
diff --git
a/src/protocol.c
b/src/protocol.c
index 6088740a906aab06893ce84fa4244ff5917b436c..0d58d6a8e8ad7d53146431eb04466ac5d4236d54 100644
(file)
--- a/
src/protocol.c
+++ b/
src/protocol.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: protocol.c,v 1.28.4.14
5 2003/07/30 11:50:45
guus Exp $
+ $Id: protocol.c,v 1.28.4.14
6 2003/08/03 12:38:43
guus Exp $
*/
#include "system.h"
*/
#include "system.h"
@@
-246,6
+246,6
@@
void age_past_requests(void)
}
if(left || deleted)
}
if(left || deleted)
- ifdebug(SCARY_THINGS) logger(LOG_DEBUG, _("Aging past requests: deleted %d, left %d
\n
"),
+ ifdebug(SCARY_THINGS) logger(LOG_DEBUG, _("Aging past requests: deleted %d, left %d"),
deleted, left);
}
deleted, left);
}