Explorar el Código

Fixs a signed/unsigned comparison

svn:r4055
Nick Mathewson hace 20 años
padre
commit
c6769a80fb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
   }
 }