diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-06-12 13:49:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-06-15 11:28:19 -0400 |
commit | ac5e44d9ce9d07c05b4ba0cb21f058a6322692ec (patch) | |
tree | 36d38c51bfdcb269761537b0839c21da9709fd10 /src/feature/dirauth/shared_random_state.c | |
parent | 438b7eec856b0caced7112dd0c87a8dae8df0c75 (diff) | |
download | tor-ac5e44d9ce9d07c05b4ba0cb21f058a6322692ec.tar.gz tor-ac5e44d9ce9d07c05b4ba0cb21f058a6322692ec.zip |
Renaming: CONFIG_TYPE_UINT -> CONFIG_TYPE_POSINT
This name has been a historical source of confusion, since "uint"
usually suggests "unsigned int" to people, when the real type is
"nonnegative int".
Diffstat (limited to 'src/feature/dirauth/shared_random_state.c')
-rw-r--r-- | src/feature/dirauth/shared_random_state.c | 2 |
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 b669e3836e..b2c7acba1a 100644 --- a/src/feature/dirauth/shared_random_state.c +++ b/src/feature/dirauth/shared_random_state.c @@ -68,7 +68,7 @@ static void disk_state_free_cb(void *); /* Array of variables that are saved to disk as a persistent state. */ static config_var_t state_vars[] = { - V(Version, UINT, "0"), + V(Version, POSINT, "0"), V(TorVersion, STRING, NULL), V(ValidAfter, ISOTIME, NULL), V(ValidUntil, ISOTIME, NULL), |