mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
fpm: remove 2 unneeded newlines from zlog call
This commit is contained in:
committed by
Jakub Zelenka
parent
e6d2705dc3
commit
581e729e8d
@@ -1877,7 +1877,7 @@ int fpm_conf_init_main(int test_conf, int force_daemon) /* {{{ */
|
||||
if (test_conf > 1) {
|
||||
fpm_conf_dump();
|
||||
}
|
||||
zlog(ZLOG_NOTICE, "configuration file %s test is successful\n", fpm_globals.config);
|
||||
zlog(ZLOG_NOTICE, "configuration file %s test is successful", fpm_globals.config);
|
||||
fpm_globals.test_successful = 1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -313,7 +313,7 @@ static int fpm_socket_af_inet_socket_by_addr(struct fpm_worker_pool_s *wp, const
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
|
||||
if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) {
|
||||
zlog(ZLOG_ERROR, "getaddrinfo: %s\n", gai_strerror(status));
|
||||
zlog(ZLOG_ERROR, "getaddrinfo: %s", gai_strerror(status));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user