aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-13 21:31:22 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-13 21:31:22 +0100
commitfce30ace50326541f767fd26e537cf2d0d391824 (patch)
treeb1f10fd4761bc73fd27103069f57dde466f36dff /blaze822.c
parent09c92d5dd809d36eecbcbc9165fd6d3d3d5aa1b0 (diff)
downloadmblaze-fce30ace50326541f767fd26e537cf2d0d391824.tar.gz
blaze822: blaze822_addr: move previous addr contents to disp
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/blaze822.c b/blaze822.c
index 6e50563..07d7a51 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -240,6 +240,12 @@ blaze822_addr(char *s, char **dispo, char **addro)
}
if (*s == '>')
s++;
+ if (*addr) {
+ if (*disp)
+ safe_append_space(disp, sizeof disp);
+ safe_append(disp, sizeof disp,
+ addr, addr + strlen(addr));
+ }
*addr = 0;
safe_append(addr, sizeof addr, tok, c);
} else if (*s == '"') {