Explorar el Código

make event streams work with control v1 too

svn:r4590
Roger Dingledine hace 20 años
padre
commit
43a28a4ca9
Se han modificado 1 ficheros con 1 adiciones y 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)