summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-12 00:48:43 -0500
committerJune McEnroe <june@causal.agency>2020-02-12 00:48:43 -0500
commitd73085eaa93a0217a679556f7a37a80421877b69 (patch)
tree95f2e00f36dfdbc23d0ab55426d4e6b790dbf2e8 /chat.c
parentHandle RPL_AWAY (diff)
downloadcatgirl-d73085eaa93a0217a679556f7a37a80421877b69.tar.gz
catgirl-d73085eaa93a0217a679556f7a37a80421877b69.zip
Allow for arguments to open/copy utilities
Diffstat (limited to '')
-rw-r--r--chat.c4
1 files changed, 2 insertions, 2 deletions
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;