aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-10-13 04:04:55 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-10-13 04:04:55 +0000
commit673425dce38fefbec673686b7284afd1db6753f8 (patch)
treec7e5e8f12ad1a6cf8db15a2b94c9d5653e8a65de /options.c
parent63f2e59cf4b5c7a048767f402bcaadf405ebeec8 (diff)
downloadfetchmail-673425dce38fefbec673686b7284afd1db6753f8.tar.gz
fetchmail-673425dce38fefbec673686b7284afd1db6753f8.tar.bz2
fetchmail-673425dce38fefbec673686b7284afd1db6753f8.zip
Fix bug in processing of multiple -S args.
svn path=/trunk/; revision=1506
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index eaf5606c..11d4cdef 100644
--- a/options.c
+++ b/options.c
@@ -294,7 +294,7 @@ struct query *ctl; /* option record to be initialized */
strcpy(buf, optarg);
cp = strtok(buf, ",");
do {
- save_str(&ctl->smtphunt, -1, optarg);
+ save_str(&ctl->smtphunt, -1, cp);
} while
((cp = strtok((char *)NULL, ",")));
ocount++;