]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Get mod_rewrite to compile with no warnings on OS/390
authorJeff Trawick <trawick@apache.org>
Fri, 14 Apr 2000 01:36:59 +0000 (01:36 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 14 Apr 2000 01:36:59 +0000 (01:36 +0000)
(cc) and Linux (gcc -Wall).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84960 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 4232c80e9ccb00f7a01e87ee9c45f381a65cefa0..213af0d7c9da340281dd25542fb848f2b33d7d27 100644 (file)
@@ -2968,7 +2968,7 @@ static char *lookup_map_program(request_rec *r, ap_file_t *fpin,
     char buf[LONG_STRING_LEN];
     char c;
     int i;
-    ap_size_t nbytes;
+    ap_ssize_t nbytes;
 
 #ifndef NO_WRITEV
     struct iovec iova[2];
@@ -3201,7 +3201,7 @@ static void rewritelog(request_rec *r, int level, const char *text, ...)
     char redir[20];
     va_list ap;
     int i;
-    ap_size_t nbytes;
+    ap_ssize_t nbytes;
     request_rec *req;
     char *ruser;
     const char *rhost;
@@ -3334,7 +3334,7 @@ static ap_status_t rewritelock_remove(void *data)
 {
     /* only operate if a lockfile is used */
     if (lockname == NULL || *(lockname) == '\0') {
-        return;
+        return APR_SUCCESS;
     }
 
     /* destroy the rewritelock */