diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:45:44 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-06 20:45:44 +0000 |
commit | 40a5d6055e0921ec6b9e5000d7b33c4599c6e22c (patch) | |
tree | 35e617f3e3b5d1ba9a003e9cb100ad324ef263ce /src/or/onion.c | |
parent | 2446996f973884a4d3949365f6abb67d86f681ea (diff) | |
download | tor-40a5d6055e0921ec6b9e5000d7b33c4599c6e22c.tar.gz tor-40a5d6055e0921ec6b9e5000d7b33c4599c6e22c.zip |
Stupid sizeof operator!
svn:r1508
Diffstat (limited to 'src/or/onion.c')
-rw-r--r-- | src/or/onion.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/onion.c b/src/or/onion.c index 3846eed6d9..6ff58ee375 100644 --- a/src/or/onion.c +++ b/src/or/onion.c @@ -125,7 +125,7 @@ int onionskin_answer(circuit_t *circ, unsigned char *payload, unsigned char *key cell_t cell; crypt_path_t *tmp_cpath; - tmp_cpath = tor_malloc_zero(sizeof(tmp_cpath)); + tmp_cpath = tor_malloc_zero(sizeof(crypt_path_t)); memset(&cell, 0, sizeof(cell_t)); cell.command = CELL_CREATED; |