X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=93bfd96de60003353f556f4fc5daa257cd5c4a38;hp=f29546ffda0cd8afd8aedc0b4f6976214edcde3f;hb=ba5e3af4ea19e1d20c80941c077039871ec84258;hpb=a8477ebaa09990b3688164cbe5cf661c4189541d diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index f29546f..93bfd96 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -188,7 +188,7 @@ int mutt_invoke_libesmtp (ADDRESS * from, /* the sender */ /* Create hostname:port string and tell libesmtp */ /* len = SmtpHost len + colon + max port (65536 => 5 chars) + terminator */ hostportlen = str_len (SmtpHost) + 7; - hostportstr = safe_malloc (hostportlen); + hostportstr = mem_malloc (hostportlen); snprintf (hostportstr, hostportlen, "%s:%d", SmtpHost, SmtpPort); if (!smtp_set_server (session, hostportstr)) SMTPFAIL ("smtp_set_server");