1
0
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:
Sjon Hortensius
2023-04-14 13:14:29 +02:00
committed by Jakub Zelenka
parent e6d2705dc3
commit 581e729e8d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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;
}