artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53a4f41
)
fix error return in fork_proc_backend(); ok gilles@
author
op
<op@openbsd.org>
Wed, 24 Apr 2024 21:31:31 +0000
(21:31 +0000)
committer
op
<op@openbsd.org>
Wed, 24 Apr 2024 21:31:31 +0000
(21:31 +0000)
usr.sbin/smtpd/smtpd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/smtpd/smtpd.c
b/usr.sbin/smtpd/smtpd.c
index
5499347
..
9f94800
100644
(file)
--- a/
usr.sbin/smtpd/smtpd.c
+++ b/
usr.sbin/smtpd/smtpd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: smtpd.c,v 1.3
49 2024/02/03 15:50:00
op Exp $ */
+/* $OpenBSD: smtpd.c,v 1.3
50 2024/04/24 21:31:31
op Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@
-1137,7
+1137,7
@@
fork_proc_backend(const char *key, const char *conf, const char *procname)
if (strlcpy(name, conf, sizeof(name)) >= sizeof(name)) {
log_warnx("warn: %s-proc: conf too long", key);
- return (
0
);
+ return (
-1
);
}
arg = strchr(name, ':');