aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-03-13 09:37:46 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-03-13 09:37:46 +0000
commitfde28f60a7cc6f1cac487b0365e2a2be1fb59f49 (patch)
tree691cea2ead6a4d5319d5fd0af2a5d156e3edb474 /options.c
parent87ad588dd2a76dde9de03681f4c4ec63d789abe2 (diff)
downloadfetchmail-fde28f60a7cc6f1cac487b0365e2a2be1fb59f49.tar.gz
fetchmail-fde28f60a7cc6f1cac487b0365e2a2be1fb59f49.tar.bz2
fetchmail-fde28f60a7cc6f1cac487b0365e2a2be1fb59f49.zip
Added `set daemon'.
svn path=/trunk/; revision=930
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/options.c b/options.c
index 344e845a..1361868c 100644
--- a/options.c
+++ b/options.c
@@ -116,6 +116,8 @@ struct query *ctl; /* option record to be initialized */
int errflag = 0; /* TRUE when a syntax error is detected */
int option_index;
+ cmd_daemon = -1;
+
memset(ctl, '\0', sizeof(struct query)); /* start clean */
while (!errflag &&
@@ -141,7 +143,7 @@ struct query *ctl; /* option record to be initialized */
break;
case 'd':
case LA_DAEMON:
- poll_interval = atoi(optarg);
+ cmd_daemon = atoi(optarg);
break;
case 'N':
case LA_NODETACH: