summaryrefslogtreecommitdiff
path: root/network_io/os2/sockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'network_io/os2/sockopt.c')
-rw-r--r--network_io/os2/sockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network_io/os2/sockopt.c b/network_io/os2/sockopt.c
index 17c1e591f..1da0c6bf6 100644
--- a/network_io/os2/sockopt.c
+++ b/network_io/os2/sockopt.c
@@ -118,7 +118,7 @@ ap_status_t ap_setsocketopt(ap_socket_t *sock, ap_int32_t opt, ap_int32_t on)
-ap_status_t ap_gethostname(char *buf, ap_int32_t len, ap_context_t *cont)
+ap_status_t ap_gethostname(char *buf, ap_int32_t len, ap_pool_t *cont)
{
if (gethostname(buf, len) == -1)
return APR_OS2_STATUS(sock_errno());