summaryrefslogtreecommitdiff
path: root/src/feature/dirauth
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/feature/dirauth
parent5b252d31ede521bea53c690693a2ab3d74c8fef4 (diff)
downloadtor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.tar.gz
tor-b6457d4c08f601c4e42e64aad47ac9c30c36306e.zip
Extend macros to allow flag arguments.
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r--src/feature/dirauth/shared_random_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c
index 3cdb223d25..d89f249a72 100644
--- a/src/feature/dirauth/shared_random_state.c
+++ b/src/feature/dirauth/shared_random_state.c
@@ -52,7 +52,7 @@ static const char dstate_cur_srv_key[] = "SharedRandCurrentValue";
DUMMY_TYPECHECK_INSTANCE(sr_disk_state_t);
#define VAR(varname,conftype,member,initvalue) \
- CONFIG_VAR_ETYPE(sr_disk_state_t, varname, conftype, member, initvalue)
+ CONFIG_VAR_ETYPE(sr_disk_state_t, varname, conftype, member, 0, initvalue)
#define V(member,conftype,initvalue) \
VAR(#member, conftype, member, initvalue)