diff options
author | Roger Dingledine <arma@torproject.org> | 2006-01-02 04:45:18 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-01-02 04:45:18 +0000 |
commit | 839111b85a7a76e834ef789bcacfe8f4d59e4cf2 (patch) | |
tree | ff4c339d80fb63158846b3637485a8787c63043a /src | |
parent | a45b1315909c99005847bb8bd5c1876f7589fe60 (diff) | |
download | tor-839111b85a7a76e834ef789bcacfe8f4d59e4cf2.tar.gz tor-839111b85a7a76e834ef789bcacfe8f4d59e4cf2.zip |
tolerate a mal-formed or unrecognized tor version in the state file.
svn:r5696
Diffstat (limited to 'src')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9bd70b1aa0..cab82fc897 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -3532,8 +3532,8 @@ or_state_validate(or_state_t *old_state, or_state_t *state) return -1; } if (tor_version_parse(state->TorVersion, &v)) { - warn(LD_GENERAL, "Unable to parse Tor version '%s'", state->TorVersion); - return -1; + warn(LD_GENERAL, "Can't parse Tor version '%s' from your state file. " + "Proceeding anyway.", state->TorVersion); } return 0; } |