summaryrefslogtreecommitdiff
path: root/pith/ablookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/ablookup.c')
-rw-r--r--pith/ablookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/ablookup.c b/pith/ablookup.c
index 54336fd9..1b12eba0 100644
--- a/pith/ablookup.c
+++ b/pith/ablookup.c
@@ -862,6 +862,8 @@ address_is_us(struct mail_address *a, struct pine *ps)
ret = 0;
if(a && a->host && a->mailbox)
snprintf(addrstr, sizeof(addrstr), "%s@%s", a->mailbox, a->host);
+ else
+ addrstr[0] = '\0';
for(t = ps_global->VAR_ALT_ADDRS; !ret && t[0] && t[0][0]; t++){
char *alt;