[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] make event streams work with control v1 too



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	control.c 
Log Message:
make event streams work with control v1 too


Index: control.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/control.c,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- control.c	17 Jul 2005 21:36:33 -0000	1.107
+++ control.c	17 Jul 2005 22:28:01 -0000	1.108
@@ -2223,7 +2223,7 @@
     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)