Ver código fonte

Fixs a signed/unsigned comparison

svn:r4055
Nick Mathewson 20 anos atrás
pai
commit
c6769a80fb
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/or/circuitlist.c

+ 1 - 1
src/or/circuitlist.c

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