[dovecot-cvs] dovecot/src/deliver smtp-client.c,1.1.2.3,1.1.2.4

tss at dovecot.org tss at dovecot.org
Sun May 13 17:09:36 EEST 2007


Update of /var/lib/cvs/dovecot/src/deliver
In directory talvi:/tmp/cvs-serv14773

Modified Files:
      Tag: branch_1_0
	smtp-client.c 
Log Message:
Removed accidentally committed useless code



Index: smtp-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/deliver/smtp-client.c,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- smtp-client.c	13 May 2007 14:06:19 -0000	1.1.2.3
+++ smtp-client.c	13 May 2007 14:09:34 -0000	1.1.2.4
@@ -30,13 +30,9 @@
 static void smtp_client_run_sendmail(const char *destination,
 				     const char *return_path, int fd)
 {
-	const char *sendmail_path;
 	const char *argv[7];
 
-	/* since we're removing an environment */
-	sendmail_path = t_strdup(deliver_set->sendmail_path);
-
-	argv[0] = sendmail_path;
+	argv[0] = deliver_set->sendmail_path;
 	argv[1] = "-i"; /* ignore dots */
 	argv[2] = "-f";
 	argv[3] = return_path != NULL && *return_path != '\0' ?



More information about the dovecot-cvs mailing list