httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r780140 - /httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c
Date Fri, 29 May 2009 23:32:51 GMT
Author: wrowe
Date: Fri May 29 23:32:51 2009
New Revision: 780140

URL: http://svn.apache.org/viewvc?rev=780140&view=rev
Log:
Fix invalid void* addition

Modified:
    httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c?rev=780140&r1=780139&r2=780140&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_lowportd.c Fri May 29 23:32:51 2009
@@ -120,8 +120,9 @@
     return APR_SUCCESS;
 }
 
-static apr_status_t sock_write(int fd, const void *buf, size_t buf_size)
+static apr_status_t sock_write(int fd, const void *vbuf, size_t buf_size)
 {
+    const char *buf = vbuf;
     int rc;
 
     while (buf_size) {



Mime
View raw message