diff options
author | Roger Dingledine <arma@torproject.org> | 2008-02-20 01:01:09 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-02-20 01:01:09 +0000 |
commit | f34d46e7ddcb7b145131ba0633d8a221078555ce (patch) | |
tree | 1aeea2f0095f4473304030f784d793075e8cfdc3 /src/or/circuitlist.c | |
parent | 7427cf5d5607f4ced7c76b02b55449a0d8f31333 (diff) | |
download | tor-f34d46e7ddcb7b145131ba0633d8a221078555ce.tar.gz tor-f34d46e7ddcb7b145131ba0633d8a221078555ce.zip |
similarly, don't throw around an int for the uint8_t circ->state
svn:r13608
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index b1ad2e73db..f43579efbb 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -185,7 +185,7 @@ circuit_set_n_circid_orconn(circuit_t *circ, uint16_t id, /** Change the state of <b>circ</b> to <b>state</b>, adding it to or removing * it from lists as appropriate. */ void -circuit_set_state(circuit_t *circ, int state) +circuit_set_state(circuit_t *circ, uint8_t state) { tor_assert(circ); if (state == circ->state) |