typo
authorPierre Habouzit <madcoder@debian.org>
Mon, 6 Nov 2006 00:44:30 +0000 (01:44 +0100)
committerPierre Habouzit <madcoder@debian.org>
Mon, 6 Nov 2006 00:44:30 +0000 (01:44 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
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;
 }