masqmail
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 diff
1.1 --- a/src/smtp_out.c Thu Apr 28 16:43:38 2011 +0200 1.2 +++ b/src/smtp_out.c Thu Apr 28 16:48:23 2011 +0200 1.3 @@ -513,15 +513,14 @@ 1.4 } 1.5 1.6 smtp_base* 1.7 -smtp_out_open_child(gchar * cmd) 1.8 +smtp_out_open_child(gchar * cmd, char* host) 1.9 { 1.10 smtp_base *psb; 1.11 gint sock; 1.12 1.13 DEBUG(5) debugf("smtp_out_open_child entered, cmd = %s\n", cmd); 1.14 - 1.15 + psb->remote_host = host; 1.16 sock = child(cmd); 1.17 - 1.18 if (sock > 0) { 1.19 psb = create_smtpbase(sock); 1.20 psb->remote_host = NULL;