Flip the tor_calloc arguments in the call. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>