Skip to content

Commit 581e729

Browse files
SjonHortensiusbukka
authored andcommitted
fpm: remove 2 unneeded newlines from zlog call
1 parent e6d2705 commit 581e729

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sapi/fpm/fpm/fpm_conf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ int fpm_conf_init_main(int test_conf, int force_daemon) /* {{{ */
18771877
if (test_conf > 1) {
18781878
fpm_conf_dump();
18791879
}
1880-
zlog(ZLOG_NOTICE, "configuration file %s test is successful\n", fpm_globals.config);
1880+
zlog(ZLOG_NOTICE, "configuration file %s test is successful", fpm_globals.config);
18811881
fpm_globals.test_successful = 1;
18821882
return -1;
18831883
}

sapi/fpm/fpm/fpm_sockets.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static int fpm_socket_af_inet_socket_by_addr(struct fpm_worker_pool_s *wp, const
313313
hints.ai_socktype = SOCK_STREAM;
314314

315315
if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) {
316-
zlog(ZLOG_ERROR, "getaddrinfo: %s\n", gai_strerror(status));
316+
zlog(ZLOG_ERROR, "getaddrinfo: %s", gai_strerror(status));
317317
return -1;
318318
}
319319

0 commit comments

Comments
 (0)