httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r808687 - /httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
Date Fri, 28 Aug 2009 00:25:03 GMT
Author: wrowe
Date: Fri Aug 28 00:25:03 2009
New Revision: 808687

URL: http://svn.apache.org/viewvc?rev=808687&view=rev
Log:
Thankful for gcc 'missing sential' warnings, fix two psprintf calls

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

Modified: httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c
URL: http://svn.apache.org/viewvc/httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c?rev=808687&r1=808686&r2=808687&view=diff
==============================================================================
--- httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c (original)
+++ httpd/mod_ftp/trunk/modules/ftp/ftp_commands.c Fri Aug 28 00:25:03 2009
@@ -2771,7 +2771,7 @@
             return FTP_REPLY_COMMAND_OK;
         }
     }
-    fc->response_notes = apr_pstrcat(r->pool, "Structure %s not implemented",
+    fc->response_notes = apr_psprintf(r->pool, "Structure %s not implemented",
                              ftp_escape_control_text(arg, r->pool));
 
     return FTP_REPLY_COMMAND_NOT_IMPL_PARAM;
@@ -2816,7 +2816,7 @@
         return FTP_REPLY_COMMAND_OK;
     }
 
-    fc->response_notes = apr_pstrcat(r->pool, "Type %s not implemented",
+    fc->response_notes = apr_psprintf(r->pool, "Type %s not implemented",
                              ftp_escape_control_text(arg, r->pool));
 
     return FTP_REPLY_COMMAND_NOT_IMPL_PARAM;



Mime
View raw message