git » pytipc » commit 3b5cb20

Return bytes sent from send()

author Peter Sabaini
2008-08-21 19:49:13 UTC
committer Alberto Bertogli
2008-09-07 01:46:12 UTC
parent 54d13f9833b3a7e341569e96e9ee9f0b1aa3aeb1

Return bytes sent from send()

tipc.py +1 -1

diff --git a/tipc.py b/tipc.py
index 425141a..e43bc5d 100644
--- a/tipc.py
+++ b/tipc.py
@@ -104,7 +104,7 @@ class TIPCSocket:
 
 	def send(self, buf):
 		"Sends a message/buffer."
-		self.psock.send(buf)
+		return self.psock.send(buf)
 
 	def recv(self, bufsize):
 		"Receives a message/buffer."