X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=fd2a05a4ec741dc8bbde1abe756ae06205eaf5bf;hp=a9c2151ee47496a9c10a23079a5c13ef65b11247;hb=7048f7d738dac900f2e76622f3d92b62f99b69a7;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index a9c2151..fd2a05a 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -187,7 +187,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 = safe_strlen (SmtpHost) + 7; + hostportlen = mutt_strlen (SmtpHost) + 7; hostportstr = safe_malloc (hostportlen); snprintf (hostportstr, hostportlen, "%s:%d", SmtpHost, SmtpPort); if (!smtp_set_server (session, hostportstr))