Remove newlines from log messages.
This commit is contained in:
parent
6d08eb1614
commit
5cff8c47c1
2 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ node_t *lookup_node_udp(const sockaddr_t *sa) {
|
||||||
|
|
||||||
void update_node_udp(node_t *n, const sockaddr_t *sa) {
|
void update_node_udp(node_t *n, const sockaddr_t *sa) {
|
||||||
if(n == myself) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -273,7 +273,7 @@ bool str2net(subnet_t *subnet, const char *subnetstr) {
|
||||||
|
|
||||||
bool net2str(char *netstr, int len, const subnet_t *subnet) {
|
bool net2str(char *netstr, int len, const subnet_t *subnet) {
|
||||||
if(!netstr || !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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue