changeset 90:736c2d68595f

sip-in/readconf.c: second step toward non-trivial settings
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 23 Sep 2022 18:53:35 -0800
parents e64d4d44025d
children fd23e2747b45
files sip-in/readconf.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/sip-in/readconf.c	Fri Sep 23 18:51:42 2022 -0800
+++ b/sip-in/readconf.c	Fri Sep 23 18:53:35 2022 -0800
@@ -51,7 +51,7 @@
 }
 
 static void
-handle_ip(st, kw, var, arg)
+handle_ip(st, kw, arg, var)
 	struct parse_state *st;
 	char *kw, *arg;
 	struct in_addr *var;
@@ -67,7 +67,7 @@
 }
 
 static void
-handle_num(st, kw, var, arg)
+handle_num(st, kw, arg, var)
 	struct parse_state *st;
 	char *kw, *arg;
 	unsigned *var;
@@ -84,7 +84,7 @@
 }
 
 static void
-handle_bool(st, kw, var, arg)
+handle_bool(st, kw, arg, var)
 	struct parse_state *st;
 	char *kw, *arg;
 	int *var;
@@ -151,7 +151,7 @@
 	}
 	while (isspace(*cp))
 		cp++;
-	handler(st, kw, var, cp);
+	handler(st, kw, cp, var);
 	st->set_mask |= set_id;
 }