summaryrefslogtreecommitdiffstats
path: root/charset.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-07-13 14:43:47 -0700
committerKevin McCarthy <kevin@8t8.us>2021-07-17 15:14:59 -0700
commitf80f3ea117a54cdf15d6a380c5106b2a2a09437e (patch)
tree7bd8e7e77addf094b807afa710e0d6b6ba54e00b /charset.c
parenta6047765a634f813baa282861c34bd1d5beb7270 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/charset.c b/charset.c
index 8211856c..9d523259 100644
--- a/charset.c
+++ b/charset.c
@@ -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, '/')))