diff options
author | Roger Dingledine <arma@torproject.org> | 2004-10-16 22:14:52 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-10-16 22:14:52 +0000 |
commit | de65052312ff9ddd86e492985008bd5ca61d7aa9 (patch) | |
tree | 96a2b81c47b4e35e465aa01d8328517a1525d752 /src/or/router.c | |
parent | 25a046df7422560b16dfdb302df9621309d5fa77 (diff) | |
download | tor-de65052312ff9ddd86e492985008bd5ca61d7aa9.tar.gz tor-de65052312ff9ddd86e492985008bd5ca61d7aa9.zip |
don't assert multiple things in the same tor_assert()
svn:r2544
Diffstat (limited to 'src/or/router.c')
-rw-r--r-- | src/or/router.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c index 26a4b97f6d..08743abf8d 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -56,7 +56,8 @@ crypto_pk_env_t *get_previous_onion_key(void) { void dup_onion_keys(crypto_pk_env_t **key, crypto_pk_env_t **last) { - tor_assert(key && last); + tor_assert(key); + tor_assert(last); tor_mutex_acquire(key_lock); *key = crypto_pk_dup_key(onionkey); if (lastonionkey) |