diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-04-04 21:53:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-04-04 21:53:26 +0000 |
commit | 46be0fa99915608d823ac6b82356f60ea7e5fc1d (patch) | |
tree | a2654ef1e8e5a1d7771a3d78aa1912fd10dd2004 /src/or/cpuworker.c | |
parent | 0fff263a4672809c279800dac01a84f7ab1c84a3 (diff) | |
download | tor-46be0fa99915608d823ac6b82356f60ea7e5fc1d.tar.gz tor-46be0fa99915608d823ac6b82356f60ea7e5fc1d.zip |
Make last fix work on windows too.
svn:r4009
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index 155a875fa6..f27de2f429 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -272,7 +272,7 @@ static int cpuworker_main(void *data) { crypto_free_pk_env(onion_key); if (last_onion_key) crypto_free_pk_env(last_onion_key); - close(fd); + tor_close_socket(fd); spawn_exit(); return 0; /* windows wants this function to return an int */ } |