diff options
author | Bradley Nicholes <bnicholes@apache.org> | 2003-03-11 19:11:17 +0000 |
---|---|---|
committer | Bradley Nicholes <bnicholes@apache.org> | 2003-03-11 19:11:17 +0000 |
commit | bc9f1dba49feb53c9612ce0defc64914d8d66c7c (patch) | |
tree | 4d1064fbd0e9ddd7ad46528cc560e813738498f7 /support/logresolve.c | |
parent | 2c4a98b3af29223d473c43c0716e078c3281eeeb (diff) | |
download | httpd-bc9f1dba49feb53c9612ce0defc64914d8d66c7c.tar.gz |
Fix up the log resolve utility to work with NetWare. Increased the stack size
and fixed WSAStartup to use the correct version number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r-- | support/logresolve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/logresolve.c b/support/logresolve.c index 31dc609fda..84cbf63e0c 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -300,12 +300,12 @@ int main (int argc, char *argv[]) char *bar, hoststring[MAXDNAME + 1], line[MAXLINE], *statfile; int i, check; -#ifdef WIN32 +#if defined(WIN32) || defined(NETWARE) /* If we apr'ify this code, apr_pool_create/apr_pool_destroy * should perform the WSAStartup/WSACleanup for us. */ WSADATA wsaData; - WSAStartup(0x101, &wsaData); + WSAStartup(MAKEWORD(2, 0), &wsaData); #endif check = 0; @@ -362,7 +362,7 @@ int main (int argc, char *argv[]) puts(hoststring); } -#ifdef WIN32 +#if defined(WIN32) || defined(NETWARE) WSACleanup(); #endif |