aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
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' */