From 8352ddc65f822aaef06df65ee6c32423b73d6890 Mon Sep 17 00:00:00 2001 From: Pierre Habouzit Date: Mon, 6 Nov 2006 01:44:30 +0100 Subject: [PATCH 1/1] typo Signed-off-by: Pierre Habouzit --- lib-mime/rfc822parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-mime/rfc822parse.c b/lib-mime/rfc822parse.c index f6d5106..e0cd6b0 100644 --- a/lib-mime/rfc822parse.c +++ b/lib-mime/rfc822parse.c @@ -604,7 +604,7 @@ uncomment_timezone(char *buf, size_t buflen, const char *tz) if (!p) return tz; - m_strcpylen(buf, buflen, tz, p - tz); + m_strncpy(buf, buflen, tz, p - tz); return buf; } -- 2.20.1