diff options
author | amartin <olpc@xo-00-CE-12.localdomain> | 2007-06-19 20:48:28 (GMT) |
---|---|---|
committer | amartin <olpc@xo-00-CE-12.localdomain> | 2007-06-19 20:48:28 (GMT) |
commit | 85b74eeb06e4f3b605380f582100ad3a99df9497 (patch) | |
tree | 5c64b6718f10af0f6e7a68da2bde9c74f9b12675 /Util/Network.py | |
parent | 6dac818750901beb90b79584b41e2df9be673c7c (diff) |
network
Diffstat (limited to 'Util/Network.py')
-rw-r--r-- | Util/Network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Util/Network.py b/Util/Network.py index f884beb..85e8e5a 100644 --- a/Util/Network.py +++ b/Util/Network.py @@ -44,7 +44,7 @@ message_enum = [ ("PR_LATENCY_QUERY", 4), # test latency ("PR_SYNC_QUERY", 4), # test sync -("PR_TEMPO_QUERY", 4), # test sync +("PR_TEMPO_QUERY", 0), # test sync ("MAX_MSG_ID", 0) ] @@ -332,7 +332,7 @@ class Network: if size >= 0: if length != size: - print "Network:: message wrong length! Got %d expected %d: %s %s" % (MSG_SIZE[message], len(data), MSG_NAME[message], data) + print "Network:: message wrong length! Got %d expected %d: %s %s" % (len(data), MSG_SIZE[message], MSG_NAME[message], data) return msg = chr(message) + data elif size == -1: |