diff options
| author | Koichiro IWAO <meta@vmeta.jp> | 2016-02-23 17:16:57 +0900 |
|---|---|---|
| committer | Koichiro IWAO <meta@vmeta.jp> | 2016-02-23 18:26:41 +0900 |
| commit | d01854a341dd054de0ff528fd0ec49d3061f08db (patch) | |
| tree | a7f5d03addec8f7f67449a1c74b8973b75a6cc4d /common/os_calls.c | |
| parent | 1ed7dbec53aec2cd9f7fb4afbb48abf199b2e01b (diff) | |
| download | xrdp-proprietary-d01854a341dd054de0ff528fd0ec49d3061f08db.tar.gz xrdp-proprietary-d01854a341dd054de0ff528fd0ec49d3061f08db.zip | |
common: no logic change, fix alignment, whitespaces
Diffstat (limited to 'common/os_calls.c')
| -rw-r--r-- | common/os_calls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ; |
