summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2010-08-14 09:18:30 -0700
committerMichael Elkins <me@sigpipe.org>2010-08-14 09:18:30 -0700
commitd99a4aa2267dc36d93d3db47baf62c6ac062f587 (patch)
treeebe9b915460d0a2b461d1b51a1169128b42f866a
parentea543325f5e0c05d7aacd764b2bef5a241a85794 (diff)
avoid c99 syntax for backwards compat
-rw-r--r--url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/url.c b/url.c
index 47228433..347047cd 100644
--- a/url.c
+++ b/url.c
@@ -291,9 +291,9 @@ int url_parse_mailto (ENVELOPE *e, char **body, const char *src)
else
{
char *scratch;
+ size_t taglen = mutt_strlen (tag);
safe_asprintf (&scratch, "%s: %s", tag, value);
- size_t taglen = mutt_strlen (tag);
scratch[taglen] = 0; /* overwrite the colon as mutt_parse_rfc822_line expects */
value = &scratch[taglen + 1];
SKIPWS (value);