apache-mod_perl/0021-Fix-APR__Socket-building.patch

30 lines
832 B
Diff
Raw Normal View History

From 08b6ef043f45a0db5d9c47135061c2bf95a0b304 Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Wed, 25 Jul 2012 10:05:33 +0200
Subject: [PATCH 21/28] Fix APR__Socket building
---
xs/APR/Socket/APR__Socket.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xs/APR/Socket/APR__Socket.h b/xs/APR/Socket/APR__Socket.h
index dfc681c..d59fce6 100644
--- a/xs/APR/Socket/APR__Socket.h
+++ b/xs/APR/Socket/APR__Socket.h
@@ -118,10 +118,10 @@ apr_status_t mpxs_APR__Socket_poll(apr_socket_t *socket,
}
#ifndef WIN32
-static MP_INLINE int mpxs_APR__Socket_fileno(pTHX_ apr_socket_t *sock)
+static MP_INLINE int mpxs_APR__Socket_fileno(pTHX_ apr_socket_t *socket)
{
apr_os_sock_t s;
- apr_os_sock_get(&s, sock);
+ apr_os_sock_get(&s, socket);
return s;
}
#endif
--
1.7.11.4