dovecot-2.2: net_getunixcred(): Fix to previous NetBSD<5 support...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Apr 11 13:38:30 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/c802c0b960e2
changeset: 16277:c802c0b960e2
user: Timo Sirainen <tss at iki.fi>
date: Thu Apr 11 13:38:16 2013 +0300
description:
net_getunixcred(): Fix to previous NetBSD<5 support: return pid as -1.
diffstat:
src/lib/net.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r d594ce839da3 -r c802c0b960e2 src/lib/net.c
--- a/src/lib/net.c Thu Apr 11 13:15:39 2013 +0300
+++ b/src/lib/net.c Thu Apr 11 13:38:16 2013 +0300
@@ -837,6 +837,7 @@
}
cred_r->uid = sc->sc_euid;
cred_r->gid = sc->sc_egid;
+ cred_r->pid = (pid_t)-1;
return 0;
#else
errno = EINVAL;
More information about the dovecot-cvs
mailing list