Rocco Rutte:
[apps/madmutt.git] / imap / util.c
index 5c051a6..34ee36e 100644 (file)
@@ -486,7 +486,7 @@ void imap_unmunge_mbox_name (char *s)
   buf = safe_strdup (s);
   if (buf) {
     imap_utf7_decode (&buf);
-    strncpy (s, buf, strlen (s));
+    strncpy (s, buf, mutt_strlen (s));
   }
 
   FREE (&buf);