Skip to content

Commit

Permalink
Fixed mistake in commit 3a19d65.
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Andersson authored and Erik Andersson committed May 28, 2013
1 parent da04bc0 commit 0bfd670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pika/adapters/base_connection.py
Expand Up @@ -333,7 +333,7 @@ def _handle_write(self):
frame = self.outbound_buffer.popleft()
try:
while total_written < len(frame):
total_written += self.socket.send(frame)
total_written += self.socket.send(frame[total_written:])
except socket.timeout:
raise
except socket.error, error:
Expand Down

0 comments on commit 0bfd670

Please sign in to comment.