Explorar o código

make event streams work with control v1 too

svn:r4590
Roger Dingledine %!s(int64=21) %!d(string=hai) anos
pai
achega
43a28a4ca9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/control.c

+ 1 - 1
src/or/control.c

@@ -2223,7 +2223,7 @@ control_event_stream_status(connection_t *conn, stream_status_event_t tp)
     send_control0_event(EVENT_STREAM_STATUS, (uint32_t)(5+len+1), msg);
     tor_free(msg);
   }
-  if (EVENT_IS_INTERESTING0(EVENT_STREAM_STATUS)) {
+  if (EVENT_IS_INTERESTING1(EVENT_STREAM_STATUS)) {
     const char *status;
     circuit_t *circ;
     switch (tp)