]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fixup for r1331110: pass correct argument
authorStefan Fritsch <sf@apache.org>
Thu, 26 Apr 2012 21:50:34 +0000 (21:50 +0000)
committerStefan Fritsch <sf@apache.org>
Thu, 26 Apr 2012 21:50:34 +0000 (21:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331113 13f79535-47bb-0310-9956-ffa450edef68

modules/slotmem/mod_slotmem_shm.c

index fa4dc6795512a929fcd1f5bd800334a24365e0f8..ccc67a0ad3e355ee1dcb0399394f34761d72d5a6 100644 (file)
@@ -167,7 +167,7 @@ static void store_slotmem(ap_slotmem_instance_t *slotmem)
         nbytes = (slotmem->desc.size * slotmem->desc.num) +
                  (slotmem->desc.num * sizeof(char)) + AP_UNSIGNEDINT_OFFSET;
        /* XXX: Error handling */
-        apr_file_write_full(fp, slotmem->persist, &nbytes, NULL);
+        apr_file_write_full(fp, slotmem->persist, nbytes, NULL);
         apr_file_close(fp);
     }
 }