From d73085eaa93a0217a679556f7a37a80421877b69 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 12 Feb 2020 00:48:43 -0500 Subject: Allow for arguments to open/copy utilities --- chat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chat.c') diff --git a/chat.c b/chat.c index 14a02cb..2c41d43 100644 --- a/chat.c +++ b/chat.c @@ -120,9 +120,9 @@ int main(int argc, char *argv[]) { while (0 < (opt = getopt_config(argc, argv, Opts, LongOpts, NULL))) { switch (opt) { break; case '!': insecure = true; - break; case 'C': urlCopyUtil = optarg; + break; case 'C': utilPush(&urlCopyUtil, optarg); break; case 'H': hashInit = strtoul(optarg, NULL, 0); - break; case 'O': urlOpenUtil = optarg; + break; case 'O': utilPush(&urlOpenUtil, optarg); break; case 'R': self.restricted = true; break; case 'a': sasl = true; self.plain = optarg; break; case 'c': cert = optarg; -- cgit 1.4.1-2-gfad0