Rocco Rutte:
[apps/madmutt.git] / mutt_ssl_nss.c
index 9b1bf50..f13dd49 100644 (file)
@@ -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[mutt_strlen (timebuf) - 1] = 0;
+  timebuf[safe_strlen (timebuf) - 1] = 0;
 
   addstr (timebuf);
 }