X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl_nss.c;h=f13dd49038bedc1363944db1fd5c6bad48547151;hp=0c3746a6936244dffa5ce8cb87ce01a923b0d656;hb=2b6a8b2b48fc8427a9d0df8222b61ccdeb9e9ae2;hpb=c3e57678c8be193fc137854020f3a90887be97c9 diff --git a/mutt_ssl_nss.c b/mutt_ssl_nss.c index 0c3746a..f13dd49 100644 --- a/mutt_ssl_nss.c +++ b/mutt_ssl_nss.c @@ -25,6 +25,9 @@ #include "mutt_socket.h" #include "mutt_curses.h" +#include "lib/mem.h" +#include "lib/intl.h" + static int MuttNssInitialized = 0; /* internal data struct we use with the CONNECTION. this is where NSS-specific @@ -90,7 +93,7 @@ static void mutt_nss_pretty_time (int64 usecs) t.tm_yday = ex.tm_yday; strfcpy (timebuf, asctime (&t), sizeof (timebuf)); - timebuf[strlen (timebuf) - 1] = 0; + timebuf[safe_strlen (timebuf) - 1] = 0; addstr (timebuf); }