13 lines
463 B
Plaintext
13 lines
463 B
Plaintext
$OpenBSD: patch-egg_egg-unix-credentials_c,v 1.1 2010/07/03 16:47:44 naddy Exp $
|
|
--- egg/egg-unix-credentials.c.orig Sat Jul 3 10:38:55 2010
|
|
+++ egg/egg-unix-credentials.c Sat Jul 3 10:39:12 2010
|
|
@@ -107,7 +107,7 @@ egg_unix_credentials_read (int sock, pid_t *pid, uid_t
|
|
|
|
{
|
|
#ifdef SO_PEERCRED
|
|
- struct ucred cr;
|
|
+ struct sockpeercred cr;
|
|
socklen_t cr_len = sizeof (cr);
|
|
|
|
if (getsockopt (sock, SOL_SOCKET, SO_PEERCRED, &cr, &cr_len) == 0 &&
|