aboutsummaryrefslogtreecommitdiff
path: root/src/or/cpuworker.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-09 16:33:04 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-09 16:33:04 +0000
commitb384c5a18d7567d0bce7d6c14b820c61843ee987 (patch)
treedf9f2eb9ca01360f962b1079bd276e878b5f6d07 /src/or/cpuworker.c
parentd18528a2abb1b8b5af3d8e538ae07318ab479fa5 (diff)
downloadtor-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.c2
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);