Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Zhukov
Kea
Commits
51d35705
Commit
51d35705
authored
Jan 24, 2011
by
Michal 'vorner' Vaner
Browse files
[trac420] Fix a bug when the write did not fit
Pointed out in review. A test that would catch it needs to be written.
parent
57ba3163
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/msgq/msgq.py.in
View file @
51d35705
...
...
@@ -345,9 +345,9 @@ class MsgQ:
if now - last_sent > 0.1:
self.kill_socket(fileno, sock)
return
buff += msg
[amount_sent:]
buff += msg
else:
buff = msg
buff = msg
[amount_sent:]
last_sent = now
if self.poller:
self.poller.register(fileno, select.POLLIN |
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment