httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r774121 - /httpd/httpd/trunk/modules/mem/mod_sharedmem.c
Date Tue, 12 May 2009 22:54:05 GMT
Author: jim
Date: Tue May 12 22:54:04 2009
New Revision: 774121

URL: http://svn.apache.org/viewvc?rev=774121&view=rev
Log:
typo2

Modified:
    httpd/httpd/trunk/modules/mem/mod_sharedmem.c

Modified: httpd/httpd/trunk/modules/mem/mod_sharedmem.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/mem/mod_sharedmem.c?rev=774121&r1=774120&r2=774121&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/mem/mod_sharedmem.c (original)
+++ httpd/httpd/trunk/modules/mem/mod_sharedmem.c Tue May 12 22:54:04 2009
@@ -158,7 +158,7 @@
     if (rv != APR_SUCCESS) {
         return;
     }
-    nbytes = (slotmem->size * slotmem->num) + (slotmem->num + sizeof(char));
+    nbytes = (slotmem->size * slotmem->num) + (slotmem->num * sizeof(char));
     apr_file_write(fp, slotmem->base, &nbytes);
     apr_file_close(fp);
 }



Mime
View raw message