[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fixs a signed/unsigned comparison



Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv12027/src/or

Modified Files:
	circuitlist.c 
Log Message:
Fixs a signed/unsigned comparison

Index: circuitlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/circuitlist.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- circuitlist.c	8 Apr 2005 03:07:07 -0000	1.44
+++ circuitlist.c	8 Apr 2005 03:26:23 -0000	1.45
@@ -159,7 +159,7 @@
     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;
   }
 }