Commit 556ece20 authored by Christian Robottom's avatar Christian Robottom

Fixing __has_mac's default to 0 instead of True (using 0 for

consistency's sake, since we use a 0 for the state flag as well)
parent c0ec1c5a
...@@ -95,7 +95,7 @@ class SizedMessageAsyncConnection(asyncore.dispatcher): ...@@ -95,7 +95,7 @@ class SizedMessageAsyncConnection(asyncore.dispatcher):
# The next thing read is always of length __msg_size. # The next thing read is always of length __msg_size.
# The state alternates between 0 and 1. # The state alternates between 0 and 1.
self.__state = 0 self.__state = 0
self.__has_mac = True self.__has_mac = 0
self.__msg_size = 4 self.__msg_size = 4
self.__output_lock = threading.Lock() # Protects __output self.__output_lock = threading.Lock() # Protects __output
self.__output = [] self.__output = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment