mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +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";
|
||||
default:
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user