aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-01-31 00:36:00 +0000
committerRoger Dingledine <arma@torproject.org>2004-01-31 00:36:00 +0000
commitf00dc6fe1e576a82244b08f488553abfd3bf01a3 (patch)
treef98a3717b29a87b49a40b11e90de099b56b050cf /src/or/directory.c
parentddcc03acd291c92bedab6e20216200f12a83fede (diff)
downloadtor-f00dc6fe1e576a82244b08f488553abfd3bf01a3.tar
tor-f00dc6fe1e576a82244b08f488553abfd3bf01a3.tar.gz
last minute fix: don't early-flush non-tls streams
e.g., this breaks directory service svn:r1033
Diffstat (limited to 'src/or/directory.c')
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 6ea453a98..2598520bd 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -261,7 +261,7 @@ int connection_dir_finished_flushing(connection_t *conn) {
log_fn(LOG_INFO,"Finished writing server response. Closing.");
return -1; /* kill it */
default:
- log_fn(LOG_WARN,"BUG: called in unexpected state.");
+ log_fn(LOG_WARN,"BUG: called in unexpected state %d.", conn->state);
return -1;
}
return 0;