Skip to content

Instantly share code, notes, and snippets.

@berick berick/foo.py
Created Sep 29, 2016

Embed
What would you like to do?
diff --git a/src/pysip2/client.py b/src/pysip2/client.py
index 8afb58b..51fd98c 100644
--- a/src/pysip2/client.py
+++ b/src/pysip2/client.py
@@ -81,6 +81,8 @@ class Client(object):
pass
raise IOError("Disconnected from SIP2 server");
+ logging.debug('recv() read %d bytes : %s ' % (len(buf), buf))
+
msg_txt = msg_txt + buf.decode(TEXT_ENCODING)
if msg_txt[-Client.LINE_TERMINATOR_LEN:] == LINE_TERMINATOR:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.