You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by so...@apache.org on 2005/08/24 01:24:16 UTC

svn commit: r239481 - /httpd/mod_smtpd/trunk/smtp_protocol.c

Author: soc-rian
Date: Tue Aug 23 16:24:14 2005
New Revision: 239481

URL: http://svn.apache.org/viewcvs?rev=239481&view=rev
Log:
removed pointless bucket brigade in data command handler

Modified:
    httpd/mod_smtpd/trunk/smtp_protocol.c

Modified: httpd/mod_smtpd/trunk/smtp_protocol.c
URL: http://svn.apache.org/viewcvs/httpd/mod_smtpd/trunk/smtp_protocol.c?rev=239481&r1=239480&r2=239481&view=diff
==============================================================================
--- httpd/mod_smtpd/trunk/smtp_protocol.c (original)
+++ httpd/mod_smtpd/trunk/smtp_protocol.c Tue Aug 23 16:24:14 2005
@@ -465,7 +465,6 @@
     int rv, retval = 0;
     char *tempfile;
     char our_buffer[BUFFER_STR_LEN];
-    apr_bucket_brigade *bb;
     apr_file_t *tfp;
     apr_size_t len, total_data = 0;
     
@@ -520,8 +519,6 @@
     }
     
     smtpd_respond_oneline(scr, 354, "End data with <CR><LF>.<CR><LF>");
-    
-    bb = apr_brigade_create(scr->p, scr->c->bucket_alloc);
     
     tempfile = apr_pstrdup(str->p, "/tmp/tmp.XXXXXX");
     rv = apr_file_mktemp(&tfp, tempfile,