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

[tor-commits] [stegotorus/master] removed dbg prints from dummy.cc



commit 8aba2b29e35fdacfbc700b07729db6ca6ce7caae
Author: Vinod Yegneswaran <vinod@xxxxxxxxxxx>
Date:   Mon Jan 9 18:46:54 2012 +0000

    removed dbg prints from dummy.cc
    
    git-svn-id: svn+ssh://spartan.csl.sri.com/svn/private/DEFIANCE@210 a58ff0ac-194c-e011-a152-003048836090
---
 src/steg/dummy.cc |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/steg/dummy.cc b/src/steg/dummy.cc
index 3ef8fc8..230dbab 100644
--- a/src/steg/dummy.cc
+++ b/src/steg/dummy.cc
@@ -72,7 +72,6 @@ dummy::detect(conn_t *conn)
   struct config_t* cfg = conn->cfg;
   struct evutil_addrinfo *addrs = cfg->get_listen_addrs(0);
 
-  fprintf(stderr, "in detect\n");
   
   if (!addrs) {
     log_warn("no listen addrs\n");
@@ -107,7 +106,7 @@ dummy::transmit(struct evbuffer *source, conn_t *conn)
 {
   struct evbuffer *dest = conn_get_outbound(conn);
 
-  fprintf(stderr, "transmitting %d\n", (int) evbuffer_get_length(source));
+ //  fprintf(stderr, "transmitting %d\n", (int) evbuffer_get_length(source));
 
   if (evbuffer_add_buffer(dest, source)) {
     fprintf(stderr, "failed to transfer buffer\n");
@@ -127,7 +126,7 @@ dummy::receive(conn_t *conn, struct evbuffer *dest)
 {
   struct evbuffer *source = conn_get_inbound(conn);
 
-  fprintf(stderr, "receiving %d\n", (int) evbuffer_get_length(source));
+ // fprintf(stderr, "receiving %d\n", (int) evbuffer_get_length(source));
 
   if (evbuffer_add_buffer(dest, source)) {
     fprintf(stderr, "failed to transfer buffer\n");



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits