aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/statefile.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-06-20 16:26:05 -0400
committerNick Mathewson <nickm@torproject.org>2019-06-25 12:51:25 -0400
commitb6457d4c08f601c4e42e64aad47ac9c30c36306e (patch)
treee55ee7afd31ae73116e33d132618474012483333 /src/app/config/statefile.c
parent5b252d31ede521bea53c690693a2ab3d74c8fef4 (diff)
downloadtor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.tar.gz
tor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.zip
Extend macros to allow flag arguments.
Diffstat (limited to 'src/app/config/statefile.c')
-rw-r--r--src/app/config/statefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c
index e0584c62af..4fe415b8cf 100644
--- a/src/app/config/statefile.c
+++ b/src/app/config/statefile.c
@@ -71,7 +71,7 @@ static config_abbrev_t state_abbrevs_[] = {
DUMMY_TYPECHECK_INSTANCE(or_state_t);
#define VAR(varname,conftype,member,initvalue) \
- CONFIG_VAR_ETYPE(or_state_t, varname, conftype, member, initvalue)
+ CONFIG_VAR_ETYPE(or_state_t, varname, conftype, member, 0, initvalue)
#define V(member,conftype,initvalue) \
VAR(#member, conftype, member, initvalue)