From: Sven-Haegar Koch Date: Fri, 27 May 2011 23:36:10 +0000 (+0200) Subject: Removed two newlines from the end of log messages which created empty lines. X-Git-Tag: release-1.1pre1~44 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=3fca2cad485ef70360bca085c5c4d052b6deb15b;p=tinc Removed two newlines from the end of log messages which created empty lines. --- diff --git a/src/gcrypt/rsa.c b/src/gcrypt/rsa.c index a729591d..ceb16389 100644 --- a/src/gcrypt/rsa.c +++ b/src/gcrypt/rsa.c @@ -267,7 +267,7 @@ size_t rsa_size(rsa_t *rsa) { */ // TODO: get rid of this macro, properly clean up gcry_ structures after use -#define check(foo) { gcry_error_t err = (foo); if(err) {logger(LOG_ERR, "gcrypt error %s/%s at %s:%d\n", gcry_strsource(err), gcry_strerror(err), __FILE__, __LINE__); return false; }} +#define check(foo) { gcry_error_t err = (foo); if(err) {logger(LOG_ERR, "gcrypt error %s/%s at %s:%d", gcry_strsource(err), gcry_strerror(err), __FILE__, __LINE__); return false; }} bool rsa_public_encrypt(rsa_t *rsa, void *in, size_t len, void *out) { gcry_mpi_t inmpi; diff --git a/src/node.c b/src/node.c index 3ec9fab1..dee7aadf 100644 --- a/src/node.c +++ b/src/node.c @@ -144,7 +144,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; }