From 673425dce38fefbec673686b7284afd1db6753f8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 13 Oct 1997 04:04:55 +0000 Subject: Fix bug in processing of multiple -S args. svn path=/trunk/; revision=1506 --- options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'options.c') 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++; -- cgit v1.2.3