[nginx] Added missing space after ngx_close_socket_n.

Maxim Dounin mdounin at mdounin.ru
Tue Jun 5 16:24:24 UTC 2018


details:   http://hg.nginx.org/nginx/rev/91ea68dd1501
branches:  
changeset: 7290:91ea68dd1501
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Tue Jun 05 17:41:34 2018 +0300
description:
Added missing space after ngx_close_socket_n.

diffstat:

 src/core/ngx_resolver.c       |  4 ++--
 src/event/ngx_event_connect.c |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (33 lines):

diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c
--- a/src/core/ngx_resolver.c
+++ b/src/core/ngx_resolver.c
@@ -4402,7 +4402,7 @@ ngx_udp_connect(ngx_resolver_connection_
     if (c == NULL) {
         if (ngx_close_socket(s) == -1) {
             ngx_log_error(NGX_LOG_ALERT, &rec->log, ngx_socket_errno,
-                          ngx_close_socket_n "failed");
+                          ngx_close_socket_n " failed");
         }
 
         return NGX_ERROR;
@@ -4488,7 +4488,7 @@ ngx_tcp_connect(ngx_resolver_connection_
     if (c == NULL) {
         if (ngx_close_socket(s) == -1) {
             ngx_log_error(NGX_LOG_ALERT, &rec->log, ngx_socket_errno,
-                          ngx_close_socket_n "failed");
+                          ngx_close_socket_n " failed");
         }
 
         return NGX_ERROR;
diff --git a/src/event/ngx_event_connect.c b/src/event/ngx_event_connect.c
--- a/src/event/ngx_event_connect.c
+++ b/src/event/ngx_event_connect.c
@@ -55,7 +55,7 @@ ngx_event_connect_peer(ngx_peer_connecti
     if (c == NULL) {
         if (ngx_close_socket(s) == -1) {
             ngx_log_error(NGX_LOG_ALERT, pc->log, ngx_socket_errno,
-                          ngx_close_socket_n "failed");
+                          ngx_close_socket_n " failed");
         }
 
         return NGX_ERROR;


More information about the nginx-devel mailing list