浏览代码

Add missing "char"

svn:r4054
Nick Mathewson 20 年之前
父节点
当前提交
6face4f482
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/circuitlist.c

+ 1 - 1
src/or/circuitlist.c

@@ -151,7 +151,7 @@ void circuit_close_all_marked(void)
 /** Function to make circ-\>state human-readable */
 /** Function to make circ-\>state human-readable */
 const char *
 const char *
 circuit_state_to_string(int state) {
 circuit_state_to_string(int state) {
-  static buf[64];
+  static char buf[64];
   switch (state) {
   switch (state) {
     case CIRCUIT_STATE_BUILDING: return "doing handshakes";
     case CIRCUIT_STATE_BUILDING: return "doing handshakes";
     case CIRCUIT_STATE_ONIONSKIN_PENDING: return "processing the onion";
     case CIRCUIT_STATE_ONIONSKIN_PENDING: return "processing the onion";