]> granicus.if.org Git - apache/commitdiff
Fixing various compiler error when compiling against the latest version of LibC SDK
authorBradley Nicholes <bnicholes@apache.org>
Sat, 27 Nov 2004 22:50:18 +0000 (22:50 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Sat, 27 Nov 2004 22:50:18 +0000 (22:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106766 13f79535-47bb-0310-9956-ffa450edef68

modules/arch/netware/mod_nw_ssl.c
server/mpm/netware/mpm_netware.c

index 16a76ead6a1c2a797aaf1bea653c4702c8ff34c8..c072c89e7c4f7f8d8df6e65942e0c9ba61f38e2f 100644 (file)
@@ -418,7 +418,7 @@ int SSLize_Socket(SOCKET socketHnd, char *key, request_rec *r)
     sNWTLSOpts.numElementsInKeyList         = 0;
     sNWTLSOpts.reservedforfutureuse         = NULL;
     sNWTLSOpts.reservedforfutureCRL         = NULL;
-    sNWTLSOpts.reservedforfutureCRLLen      = NULL;
+    sNWTLSOpts.reservedforfutureCRLLen      = 0;
     sNWTLSOpts.reserved1                    = NULL;
     sNWTLSOpts.reserved2                    = NULL;
     sNWTLSOpts.reserved3                    = NULL;
index 819a6cac39dc50aaefee14c7fc4f9238bbbea9ba..c8526e27fe322a2bb15075cfe31b868b84311e28 100644 (file)
@@ -1018,7 +1018,7 @@ void netware_rewrite_args(process_rec *process)
 
             for (i=len; i; i--) {
                 if (s[i] == '\\' || s[i] == '/') {
-                    s[i] = NULL;
+                    s[i] = '\0';
                     apr_filepath_merge(&def_server_root, NULL, s, 
                         APR_FILEPATH_TRUENAME, process->pool);
                     break;