diff src/core/ngx_conf_file.c @ 7451:d864ee67b5ae

Use %s for errors returned from configuration parsing handlers.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 25 Dec 2018 15:26:58 +0300
parents f17e313009b0
children 485dba3e2a01
line wrap: on
line diff
--- a/src/core/ngx_conf_file.c	Wed Jan 30 19:28:27 2019 +0300
+++ b/src/core/ngx_conf_file.c	Tue Dec 25 15:26:58 2018 +0300
@@ -310,7 +310,7 @@
                 goto failed;
             }
 
-            ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, rv);
+            ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%s", rv);
 
             goto failed;
         }