commit 91a72ef5d126dd4458e62c3b6e6d74806afa4bcb Author: Nathan Freitas nathan@freitas.net Date: Wed Feb 4 11:55:23 2015 -0500
add in basic debug output --- src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java b/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java index 44f7a50..2da1760 100644 --- a/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java +++ b/src/com/runjva/sourceforge/jsocks/protocol/ProxyServer.java @@ -672,24 +672,24 @@ public class ProxyServer implements Runnable { public static void debug (String msg, String host, int port) { - debug (msg); + debug (msg + ": " + host + ":" + port); } public static void debug (String msg, Exception e) {
- debug (msg); + Log.e("Proxy",msg,e); } public static void debug (String msg, InetAddress addr, int port) {
- debug (msg); + debug (msg + ": " + addr.getHostAddress() + ": " + port); } public static void debug (String msg, int type, String log) {
- debug (msg); + debug (msg + " type:" + type + "=" + log); } }
tor-commits@lists.torproject.org