diff --git a/common/os_calls.c b/common/os_calls.c index f02b8c65..4e79cdeb 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -986,8 +986,8 @@ g_tcp_accept(int sck) ret = accept(sck, (struct sockaddr *)&s, &i); if(ret>0) { - snprintf(ipAddr,255,"A connection received from: %s port %d" - ,inet_ntoa(s.sin_addr),ntohs(s.sin_port)); + snprintf(ipAddr, 255, "A connection received from: %s port %d", + inet_ntoa(s.sin_addr), ntohs(s.sin_port)); log_message(LOG_LEVEL_INFO,ipAddr); } return ret ;