mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 22:25:51 +01:00
Fixs a signed/unsigned comparison
svn:r4055
This commit is contained in:
parent
6face4f482
commit
c6769a80fb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue