diff src/smtp_out.c @ 321:412385b57dc4

refactoring
author meillo@marmaro.de
date Thu, 28 Apr 2011 16:48:23 +0200
parents c74adb7c4f50
children 02bc0331e390
line wrap: on
line diff
--- a/src/smtp_out.c	Thu Apr 28 16:43:38 2011 +0200
+++ b/src/smtp_out.c	Thu Apr 28 16:48:23 2011 +0200
@@ -513,15 +513,14 @@
 }
 
 smtp_base*
-smtp_out_open_child(gchar * cmd)
+smtp_out_open_child(gchar * cmd, char* host)
 {
 	smtp_base *psb;
 	gint sock;
 
 	DEBUG(5) debugf("smtp_out_open_child entered, cmd = %s\n", cmd);
-
+	psb->remote_host = host;
 	sock = child(cmd);
-
 	if (sock > 0) {
 		psb = create_smtpbase(sock);
 		psb->remote_host = NULL;