diff options
author | Kevin McCarthy <kevin@8t8.us> | 2021-07-13 14:43:47 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2021-07-17 15:14:59 -0700 |
commit | f80f3ea117a54cdf15d6a380c5106b2a2a09437e (patch) | |
tree | 7bd8e7e77addf094b807afa710e0d6b6ba54e00b /charset.c | |
parent | a6047765a634f813baa282861c34bd1d5beb7270 (diff) |
Increase scratch buf size in mutt_canonical_charset().
This siliences warnings about the destination being smaller than the
source when copying.
Diffstat (limited to 'charset.c')
-rw-r--r-- | charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ void mutt_canonical_charset (char *dest, size_t dlen, const char *name) { size_t i; char *p, *ext; - char in[LONG_STRING], scratch[LONG_STRING]; + char in[LONG_STRING], scratch[LONG_STRING+10]; strfcpy (in, name, sizeof (in)); if ((ext = strchr (in, '/'))) |