aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-28 01:55:34 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-28 01:55:34 -0400
commit42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4 (patch)
tree2461a1a5f1660e0e4f3bc1aed52d3fc80c968f1b /src/or/control.c
parent6f200b61b7effe811809fe60459b0b5b58cb3dbb (diff)
parenta5232e0c4c572cdff85701f698b8b90c9443d7e4 (diff)
downloadtor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.tar.gz
tor-42b15a0aaa6e00c2ce0ce030abdb87e787f27fe4.zip
Merge remote-tracking branch 'origin/maint-0.2.2'
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index 98560733db..02cb422f4d 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -3228,7 +3228,6 @@ control_event_circuit_status(origin_circuit_t *circ, circuit_status_event_t tp,
{
const char *status;
char extended_buf[96];
- int providing_reason=0;
if (!EVENT_IS_INTERESTING(EVENT_CIRCUIT_STATUS))
return 0;
tor_assert(circ);
@@ -3252,7 +3251,6 @@ control_event_circuit_status(origin_circuit_t *circ, circuit_status_event_t tp,
const char *reason_str = circuit_end_reason_to_control_string(reason_code);
char *reason = NULL;
size_t n=strlen(extended_buf);
- providing_reason=1;
if (!reason_str) {
reason = tor_malloc(16);
tor_snprintf(reason, 16, "UNKNOWN_%d", reason_code);