Browse Source

Add an XXX

Robert Ransom 14 years ago
parent
commit
36afdebe1a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/or/control.c

+ 3 - 0
src/or/control.c

@@ -2894,6 +2894,9 @@ connection_control_process_inbuf(control_connection_t *conn)
     return 0;
   }
 
+  /* XXXX Why is this not implemented as a table like the GETINFO
+   * items are?  Even handling the plus signs at the beginnings of
+   * commands wouldn't be very hard with proper macros. */
   cmd_data_len = (uint32_t)data_len;
   if (!strcasecmp(conn->incoming_cmd, "SETCONF")) {
     if (handle_control_setconf(conn, cmd_data_len, args))