diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-10-13 04:04:55 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-10-13 04:04:55 +0000 |
commit | 673425dce38fefbec673686b7284afd1db6753f8 (patch) | |
tree | c7e5e8f12ad1a6cf8db15a2b94c9d5653e8a65de | |
parent | 63f2e59cf4b5c7a048767f402bcaadf405ebeec8 (diff) | |
download | fetchmail-673425dce38fefbec673686b7284afd1db6753f8.tar.gz fetchmail-673425dce38fefbec673686b7284afd1db6753f8.tar.bz2 fetchmail-673425dce38fefbec673686b7284afd1db6753f8.zip |
Fix bug in processing of multiple -S args.
svn path=/trunk/; revision=1506
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | options.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ fetchmail-4.3.1 () * Fixed a bad interaction between --limit and the repoll feature. * = is now optional in global options. * Code for parsing Received headers now strips out RFC822 routes. +* Fixed processing of -S argument so giving a comma-separated list works. * Added --invisible option. Note: you can now either make fetchmail generate a Received header (the default) *or* spoof your listener into thinking fetchmail connected from the mailserver machine, *but not both*. @@ -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++; |