Przeglądaj źródła

Fixs a signed/unsigned comparison

svn:r4055
Nick Mathewson 20 lat temu
rodzic
commit
c6769a80fb
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
   }
 }