diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-22 08:30:06 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-22 08:30:06 +0000 |
commit | 7459d067a5b158f39ac8ff9a90ce6059e91d4302 (patch) | |
tree | 74501e22937458399ab1d98939a2261d60a57e8d /src/common/util.c | |
parent | ea43172c11af49dcf770fdcbcf80fcbef3437c19 (diff) | |
download | tor-7459d067a5b158f39ac8ff9a90ce6059e91d4302.tar.gz tor-7459d067a5b158f39ac8ff9a90ce6059e91d4302.zip |
now base16_encode() and base32_encode() can't ever fail
svn:r2103
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index 21cb010b32..be4f60028a 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1254,6 +1254,7 @@ int check_private_dir(const char *dirname, int create) { int r; struct stat st; + tor_assert(dirname); if (stat(dirname, &st)) { if (errno != ENOENT) { log(LOG_WARN, "Directory %s cannot be read: %s", dirname, |