aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-10-27 14:05:57 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-10-27 14:05:57 +0000
commit9bec57006ed51e99cee97a036c5567377e9dee66 (patch)
tree15cb91e2cc5c65a3463b5e1f42582914385b3d77 /sink.c
parent836bbce0c428581f40d13d8c3d27d1c7adc31ccb (diff)
downloadfetchmail-9bec57006ed51e99cee97a036c5567377e9dee66.tar.gz
fetchmail-9bec57006ed51e99cee97a036c5567377e9dee66.tar.bz2
fetchmail-9bec57006ed51e99cee97a036c5567377e9dee66.zip
Fixed bug in %T expansion.
svn path=/trunk/; revision=2138
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index f96143b1..b45c2b99 100644
--- a/sink.c
+++ b/sink.c
@@ -278,7 +278,7 @@ int open_sink(struct query *ctl,
for (idp = xmit_names; idp; idp = idp->next)
if ((idp->val.status.mark == XMIT_ACCEPT))
nameslen += (strlen(idp->id) + 1); /* string + ' ' */
- if ((*good_addresses = 0))
+ if ((*good_addresses == 0))
nameslen = strlen(run.postmaster);
names = (char *)xmalloc(nameslen + 1); /* account for '\0' */