Module Name: src Committed By: rillig Date: Tue Sep 14 21:49:31 UTC 2021
Modified Files: src/crypto/dist/ipsec-tools/src/racoon: privsep.c Log Message: ipsectools: fix lint error Returning a value from a void function is a GNU extension, but even in GNU mode, lint does not allow these. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/crypto/dist/ipsec-tools/src/racoon/privsep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/ipsec-tools/src/racoon/privsep.c diff -u src/crypto/dist/ipsec-tools/src/racoon/privsep.c:1.25 src/crypto/dist/ipsec-tools/src/racoon/privsep.c:1.26 --- src/crypto/dist/ipsec-tools/src/racoon/privsep.c:1.25 Tue Aug 28 09:10:28 2018 +++ src/crypto/dist/ipsec-tools/src/racoon/privsep.c Tue Sep 14 21:49:31 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: privsep.c,v 1.25 2018/08/28 09:10:28 christos Exp $ */ +/* $NetBSD: privsep.c,v 1.26 2021/09/14 21:49:31 rillig Exp $ */ /* Id: privsep.c,v 1.15 2005/08/08 11:23:44 vanhu Exp */ @@ -1762,8 +1762,10 @@ privsep_cleanup_pam(port) size_t len; char *data; - if (geteuid() == 0) - return cleanup_pam(port); + if (geteuid() == 0) { + cleanup_pam(port); + return; + } len = sizeof(*msg) + sizeof(port)