projects
/
apache
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5409c25
)
* server/listen.c: return -1 in find_systemd_socket on error
author
Jan Kaluža
<jkaluza@apache.org>
Tue, 8 Jul 2014 12:21:56 +0000
(12:21 +0000)
committer
Jan Kaluža
<jkaluza@apache.org>
Tue, 8 Jul 2014 12:21:56 +0000
(12:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1608744
13f79535
-47bb-0310-9956-
ffa450edef68
server/listen.c
patch
|
blob
|
history
diff --git
a/server/listen.c
b/server/listen.c
index b772384af25f9077317d4609760ca2b47d43d35d..8bf0b3272ee3e4152a92269790f6eb4bd7abb616 100644
(file)
--- a/
server/listen.c
+++ b/
server/listen.c
@@
-288,13
+288,13
@@
static int find_systemd_socket(process_rec * process, apr_port_t port)
ap_log_perror(APLOG_MARK, APLOG_CRIT, sdc, process->pool, APLOGNO(02486)
"find_systemd_socket: Error parsing enviroment, sd_listen_fds returned %d",
sdc);
- return 1;
+ return
-
1;
}
if (sdc == 0) {
ap_log_perror(APLOG_MARK, APLOG_CRIT, sdc, process->pool, APLOGNO(02487)
"find_systemd_socket: At least one socket must be set.");
- return 1;
+ return
-
1;
}
fdcount = atoi(getenv("LISTEN_FDS"));