httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject svn commit: r651854 - /httpd/mod_wombat/trunk/request.c
Date Sat, 26 Apr 2008 20:07:05 GMT
Author: brianm
Date: Sat Apr 26 13:07:03 2008
New Revision: 651854

URL: http://svn.apache.org/viewvc?rev=651854&view=rev
Log:
Fix a case of int being used in place of size_t ... wonder if it should be osmehting like
apr_size_t ?

Modified:
    httpd/mod_wombat/trunk/request.c

Modified: httpd/mod_wombat/trunk/request.c
URL: http://svn.apache.org/viewvc/httpd/mod_wombat/trunk/request.c?rev=651854&r1=651853&r2=651854&view=diff
==============================================================================
--- httpd/mod_wombat/trunk/request.c (original)
+++ httpd/mod_wombat/trunk/request.c Sat Apr 26 13:07:03 2008
@@ -156,7 +156,7 @@
 // wrap ap_rwrite as r:write(String)
 static int req_write(lua_State* L) {
     request_rec* r = check_request_rec(L, 1);
-    int n;
+    size_t n;
     const char* buf = luaL_checklstring(L, 2, &n);
   
     ap_rwrite((void *)buf, n, r);



Mime
View raw message