瀏覽代碼

Clarify behavior of SETEVENTS: it is SET, not ADD.

svn:r3871
Nick Mathewson 21 年之前
父節點
當前提交
5edd94b27e
共有 1 個文件被更改,包括 2 次插入 和 1 次删除
  1. 2 1
      doc/control-spec.txt

+ 2 - 1
doc/control-spec.txt

@@ -163,7 +163,8 @@ the message.
 
 
   Request the server to inform the client about interesting events.
   Request the server to inform the client about interesting events.
   The body contains a list of 2-byte event codes (see "event" below).
   The body contains a list of 2-byte event codes (see "event" below).
-  Sending SETEVENTS with an empty body turns off all event reporting.
+  Any events *not* listed in the SETEVENTS body are turned off; thus, sending
+  SETEVENTS with an empty body turns off all event reporting.
 
 
   The server responds with a DONE message on success, and an ERROR message
   The server responds with a DONE message on success, and an ERROR message
   if one of the event codes isn't recognized.  (On error, the list of active
   if one of the event codes isn't recognized.  (On error, the list of active