Stupid sizeof operator!

svn:r1508
This commit is contained in:
Nick Mathewson
2004-04-06 20:45:44 +00:00
parent 47c592524c
commit 910ea25c0e
+1 -1
View File
@@ -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;