0857e2ce53
with a different struct name to Linux; ok ajacoutot@
13 lines
400 B
Plaintext
13 lines
400 B
Plaintext
$OpenBSD: patch-src_ct_socket_c,v 1.1 2010/07/01 10:45:57 djm Exp $
|
|
--- src/ct/socket.c.orig Thu Jul 1 11:51:42 2010
|
|
+++ src/ct/socket.c Thu Jul 1 11:52:26 2010
|
|
@@ -295,7 +295,7 @@ ct_socket_t *ct_socket_accept(ct_socket_t * sock)
|
|
static int ct_socket_getcreds(ct_socket_t * sock)
|
|
{
|
|
#ifdef SO_PEERCRED
|
|
- struct ucred creds;
|
|
+ struct sockpeercred creds;
|
|
socklen_t len;
|
|
|
|
len = sizeof(creds);
|