aboutsummaryrefslogtreecommitdiff
path: root/blaze822.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-01-13 21:28:43 +0100
committerLeah Neukirchen <leah@vuxu.org>2018-01-13 21:28:43 +0100
commit09c92d5dd809d36eecbcbc9165fd6d3d3d5aa1b0 (patch)
tree16304d6e2449e45b4fbf9a254738310d90a31d3a /blaze822.c
parenteffc645f8a83aa41e758da45bcfe08ad9c3c41a3 (diff)
downloadmblaze-09c92d5dd809d36eecbcbc9165fd6d3d3d5aa1b0.tar.gz
blaze822: blaze822_addr: <> always resets the address
Diffstat (limited to 'blaze822.c')
-rw-r--r--blaze822.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/blaze822.c b/blaze822.c
index 9e25992..6e50563 100644
--- a/blaze822.c
+++ b/blaze822.c
@@ -240,6 +240,7 @@ blaze822_addr(char *s, char **dispo, char **addro)
}
if (*s == '>')
s++;
+ *addr = 0;
safe_append(addr, sizeof addr, tok, c);
} else if (*s == '"') {
char tok[1024] = { 0 };