typo
[apps/madmutt.git] / lib-mime / rfc822parse.c
index f6d5106..e0cd6b0 100644 (file)
@@ -604,7 +604,7 @@ uncomment_timezone(char *buf, size_t buflen, const char *tz)
     if (!p)
         return tz;
 
     if (!p)
         return tz;
 
-    m_strcpylen(buf, buflen, tz, p - tz);
+    m_strncpy(buf, buflen, tz, p - tz);
     return buf;
 }
 
     return buf;
 }