diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-30 00:49:41 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-30 00:49:41 +0000 |
commit | 8a7d1400e421da30923c26a114b4d89fc5d482e5 (patch) | |
tree | 1683ad0163a16e96ad2b122a0e6c69690bdd7a24 /unmime.c | |
parent | 52a3c1f28481c40a7cd9a0e9a48e3a0394836a3a (diff) | |
download | fetchmail-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |