diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-06-14 16:50:18 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-06-14 16:50:18 -0600 |
commit | 6fc06defd55e7d00f620d40e52da47bc4c1b3a96 (patch) | |
tree | 8a6c410b0f9280f1b218358ac34178d506b104b6 /pith/ablookup.c | |
parent | 992277048fb4c5f380edb8e9247b7e721662ca89 (diff) | |
download | alpine-6fc06defd55e7d00f620d40e52da47bc4c1b3a96.tar.xz |
* More changes to make Valgrind happy.
Diffstat (limited to 'pith/ablookup.c')
-rw-r--r-- | pith/ablookup.c | 2 |
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; |