Fixs a signed/unsigned comparison

svn:r4055
This commit is contained in:
Nick Mathewson 2005-04-08 03:26:23 +00:00
parent 6face4f482
commit c6769a80fb

View File

@ -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;
}
}