aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r--src/or/circuitlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c
index 502939956..8206b9520 100644
--- a/src/or/circuitlist.c
+++ b/src/or/circuitlist.c
@@ -151,7 +151,7 @@ void circuit_close_all_marked(void)
/** Function to make circ-\>state human-readable */
const char *
circuit_state_to_string(int state) {
- static buf[64];
+ static char buf[64];
switch (state) {
case CIRCUIT_STATE_BUILDING: return "doing handshakes";
case CIRCUIT_STATE_ONIONSKIN_PENDING: return "processing the onion";