aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-30 00:49:41 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-30 00:49:41 +0000
commit8a7d1400e421da30923c26a114b4d89fc5d482e5 (patch)
tree1683ad0163a16e96ad2b122a0e6c69690bdd7a24 /unmime.c
parent52a3c1f28481c40a7cd9a0e9a48e3a0394836a3a (diff)
downloadfetchmail-8a7d1400e421da30923c26a114b4d89fc5d482e5.tar.gz
fetchmail-8a7d1400e421da30923c26a114b4d89fc5d482e5.tar.bz2
fetchmail-8a7d1400e421da30923c26a114b4d89fc5d482e5.zip
strncat -> strlcat
svn path=/trunk/; revision=4188
Diffstat (limited to 'unmime.c')
-rw-r--r--unmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmime.c b/unmime.c
index 5a442cb5..780c704e 100644
--- a/unmime.c
+++ b/unmime.c
@@ -467,7 +467,7 @@ int MimeBodyType(unsigned char *hdrs, int WantDecode)
/* The actual delimiter is "--" followed by
the boundary string */
strcpy(MultipartDelimiter, "--");
- strncat(MultipartDelimiter, p1, MAX_DELIM_LEN);
+ strlcat(MultipartDelimiter, p1, sizeof(MultipartDelimiter));
MultipartDelimiter[sizeof(MultipartDelimiter)-1] = '\0';
BodyType = (MSG_IS_8BIT | MSG_NEEDS_DECODE);
}