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

[tor-commits] [stegotorus/master] realized that this probably breaks other steg module by returning 1 in detect



commit 4623b8e57b626b4b82cff88758018409a24512e7
Author: Jeffrey Wang <jeffreyw@xxxxxxxxxxxx>
Date:   Sun Dec 4 09:10:06 2011 +0000

    realized that this probably breaks other steg module by returning 1 in detect
    
    git-svn-id: svn+ssh://spartan.csl.sri.com/svn/private/DEFIANCE@172 a58ff0ac-194c-e011-a152-003048836090
---
 src/steg/embed.cc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/steg/embed.cc b/src/steg/embed.cc
index 3834588..9b562d9 100644
--- a/src/steg/embed.cc
+++ b/src/steg/embed.cc
@@ -105,7 +105,8 @@ embed::embed() {
 embed::~embed() { }
 
 bool embed::detect(conn_t * /* conn */) {
-  return 1;
+  // TODO: no good way to detect right now
+  return 0; /* change to 1 when testing */
 }
 
 size_t embed::transmit_room(conn_t * /* conn */) {



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