comparison src/smtp_out.c @ 372:b0708fac99dd

Fixed a problem with psb->remote_host, introduced in changeset 412385b57dc4
author markus schnalke <meillo@marmaro.de>
date Tue, 25 Oct 2011 14:31:28 +0200
parents f122535c589e
children
comparison
equal deleted inserted replaced
371:f122535c589e 372:b0708fac99dd
509 509
510 return NULL; 510 return NULL;
511 } 511 }
512 512
513 smtp_base* 513 smtp_base*
514 smtp_out_open_child(gchar *cmd, char *host) 514 smtp_out_open_child(gchar *cmd)
515 { 515 {
516 smtp_base *psb; 516 smtp_base *psb;
517 gint sock; 517 gint sock;
518 518
519 DEBUG(5) debugf("smtp_out_open_child entered, cmd = %s\n", cmd); 519 DEBUG(5) debugf("smtp_out_open_child entered, cmd = %s\n", cmd);
520 psb->remote_host = host;
521 sock = child(cmd); 520 sock = child(cmd);
522 if (sock <= 0) { 521 if (sock <= 0) {
523 return NULL; 522 return NULL;
524 } 523 }
525 psb = create_smtpbase(sock); 524 psb = create_smtpbase(sock);