瀏覽代碼

setconf orport=9001
513 Unrecognized option value

it's not unrecognized. it's unacceptable. (in this case, i still
have to consult the logs to figure out why, but at least i have
an inkling that maybe i should.)


svn:r5561

Roger Dingledine 20 年之前
父節點
當前提交
79f09b2f17
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/control.c

+ 1 - 1
src/or/control.c

@@ -717,7 +717,7 @@ control_setconf_helper(connection_t *conn, uint32_t len, char *body,
         break;
         break;
       case -2:
       case -2:
         v0_err = ERR_INVALID_CONFIG_VALUE;
         v0_err = ERR_INVALID_CONFIG_VALUE;
-        msg = "513 Unrecognized option value";
+        msg = "513 Unacceptable option value";
         break;
         break;
       case -3:
       case -3:
         v0_err = ERR_INVALID_CONFIG_VALUE;
         v0_err = ERR_INVALID_CONFIG_VALUE;