mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fixs a signed/unsigned comparison
svn:r4055
This commit is contained in:
parent
6face4f482
commit
c6769a80fb
@ -159,7 +159,7 @@ circuit_state_to_string(int state) {
|
|||||||
case CIRCUIT_STATE_OPEN: return "open";
|
case CIRCUIT_STATE_OPEN: return "open";
|
||||||
default:
|
default:
|
||||||
log_fn(LOG_WARN, "Bug: unknown circuit state %d", state);
|
log_fn(LOG_WARN, "Bug: unknown circuit state %d", state);
|
||||||
tor_snprintf(buf, sizeof(buf), "unknown state [%d], state");
|
tor_snprintf(buf, sizeof(buf), "unknown state [%d]", state);
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user