Created
September 29, 2016 16:16
-
-
Save berick/4bf7f1593cecb4ed07667ce0fd036c10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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