aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 9b0aee0f..dd65f5e7 100644
--- a/driver.c
+++ b/driver.c
@@ -43,6 +43,7 @@
#define SMTP_PORT 25 /* standard SMTP service port */
int batchlimit; /* how often to tear down the delivery connection */
+int batchcount; /* count of messages sent in current batch */
static const struct method *protocol;
static jmp_buf restart;
@@ -205,8 +206,6 @@ static FILE *smtp_open(ctl)
/* try to open a socket to the appropriate SMTP server for this query */
struct query *ctl;
{
- static int batchcount;
-
ctl = ctl->leader; /* go to the SMTP leader for this query */
/* maybe it's time to close the socket in order to force delivery */