aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--lib/libtinytac/lmemory.c3
-rw-r--r--lib/libtinytac/lmemory.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/libtinytac/lmemory.c b/lib/libtinytac/lmemory.c
index ddf6693..28a05c3 100644
--- a/lib/libtinytac/lmemory.c
+++ b/lib/libtinytac/lmemory.c
@@ -136,7 +136,6 @@ TinyTac tinytac_dflt =
136 136
137const char * tinytac_dflt_hosts = TTAC_DFLT_HOSTS; 137const char * tinytac_dflt_hosts = TTAC_DFLT_HOSTS;
138char * tinytac_dflt_hosts_buff = NULL; 138char * tinytac_dflt_hosts_buff = NULL;
139unsigned tinytac_dflt_opts_neg = TTAC_DFLT_OPTS_NEG;
140char ** tinytac_dflt_keys = NULL; 139char ** tinytac_dflt_keys = NULL;
141 140
142 141
@@ -421,7 +420,7 @@ tinytac_set_option_flag(
421 dflt = ((tt)) ? (tinytac_dflt.opts & flag) : (flag & TTAC_DFLT_OPTS); 420 dflt = ((tt)) ? (tinytac_dflt.opts & flag) : (flag & TTAC_DFLT_OPTS);
422 ival = ((invalue)) ? *invalue : dflt; 421 ival = ((invalue)) ? *invalue : dflt;
423 optsp = ((tt)) ? &tt->opts : &tinytac_dflt.opts; 422 optsp = ((tt)) ? &tt->opts : &tinytac_dflt.opts;
424 opts_negp = ((tt)) ? &tt->opts_neg : &tinytac_dflt_opts_neg; 423 opts_negp = ((tt)) ? &tt->opts_neg : &tinytac_dflt.opts_neg;
425 424
426 if ((ival)) 425 if ((ival))
427 { 426 {
diff --git a/lib/libtinytac/lmemory.h b/lib/libtinytac/lmemory.h
index 837cc2b..156ae46 100644
--- a/lib/libtinytac/lmemory.h
+++ b/lib/libtinytac/lmemory.h
@@ -65,7 +65,6 @@
65extern TinyTac tinytac_dflt; 65extern TinyTac tinytac_dflt;
66extern const char * tinytac_dflt_hosts; 66extern const char * tinytac_dflt_hosts;
67extern char * tinytac_dflt_hosts_buff; 67extern char * tinytac_dflt_hosts_buff;
68extern unsigned tinytac_dflt_opts_neg;
69extern char ** tinytac_dflt_keys; 68extern char ** tinytac_dflt_keys;
70 69
71 70