diff options
author | Roger Dingledine <arma@torproject.org> | 2004-05-09 16:33:04 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-05-09 16:33:04 +0000 |
commit | b384c5a18d7567d0bce7d6c14b820c61843ee987 (patch) | |
tree | df9f2eb9ca01360f962b1079bd276e878b5f6d07 /src/or/cpuworker.c | |
parent | d18528a2abb1b8b5af3d8e538ae07318ab479fa5 (diff) | |
download | tor-b384c5a18d7567d0bce7d6c14b820c61843ee987.tar tor-b384c5a18d7567d0bce7d6c14b820c61843ee987.tar.gz |
bugfix: do directory_send_command only after we've established a socket
also many comments, cleaning, etc
svn:r1823
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 f872d1419..d57119f91 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -204,7 +204,7 @@ int cpuworker_main(void *data) { if(recv(fd, &question_type, 1, 0) != 1) { // log_fn(LOG_ERR,"read type failed. Exiting."); - log_fn(LOG_INFO,"cpuworker exiting because tor process died."); + log_fn(LOG_INFO,"cpuworker exiting because tor process closed connection (either rotated keys or died)."); goto end; } tor_assert(question_type == CPUWORKER_TASK_ONION); |