aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-07-15 19:21:30 +0000
committerRoger Dingledine <arma@torproject.org>2006-07-15 19:21:30 +0000
commit3d79eb52abf20c64e02dfae1c993d5c83ddf57da (patch)
tree1a40ec0860c1fe2b72f6e85762ed9374bb0c9670 /src/common
parent0ada963ef6fd10067630b8c9661372f419ab44e9 (diff)
downloadtor-3d79eb52abf20c64e02dfae1c993d5c83ddf57da.tar
tor-3d79eb52abf20c64e02dfae1c993d5c83ddf57da.tar.gz
stick to nick's nul/null convention
svn:r6763
Diffstat (limited to 'src/common')
-rw-r--r--src/common/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 200c74a27..bc1ca6945 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -509,7 +509,7 @@ crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest,
tor_assert(buf->length >= 0);
*dest = tor_malloc(buf->length+1);
memcpy(*dest, buf->data, buf->length);
- (*dest)[buf->length] = 0; /* null terminate it */
+ (*dest)[buf->length] = 0; /* nul terminate it */
*len = buf->length;
BUF_MEM_free(buf);