summaryrefslogtreecommitdiff
path: root/network_io
diff options
context:
space:
mode:
authorstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-03-20 08:54:43 +0000
committerstriker <striker@13f79535-47bb-0310-9956-ffa450edef68>2002-03-20 08:54:43 +0000
commit511d718a6fde86299b6d662cb9a1db790ebbda83 (patch)
tree450c58cbf1f95ac51346a4af9529b5d1dceafb65 /network_io
parent92997be1ac1dda04a9d67d4e7e9efd96fbfbedbb (diff)
downloadlibapr-511d718a6fde86299b6d662cb9a1db790ebbda83.tar.gz
Rename the "cntxt" members of the fileio structures to "pool".
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63164 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io')
-rw-r--r--network_io/unix/poll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/network_io/unix/poll.c b/network_io/unix/poll.c
index 29c70572d..99be46fb8 100644
--- a/network_io/unix/poll.c
+++ b/network_io/unix/poll.c
@@ -401,9 +401,9 @@ apr_status_t apr_poll_data_set(apr_pollfd_t *pollfd, void *data, const char *key
*/
apr_status_t apr_socket_from_file(apr_socket_t **newsock, apr_file_t *file)
{
- (*newsock) = apr_pcalloc(file->cntxt, sizeof(**newsock));
+ (*newsock) = apr_pcalloc(file->pool, sizeof(**newsock));
(*newsock)->socketdes = file->filedes;
- (*newsock)->cntxt = file->cntxt;
+ (*newsock)->cntxt = file->pool;
(*newsock)->timeout = file->timeout;
return APR_SUCCESS;
}