Browse Source

Buffer even with sendmsg

Michal 'vorner' Vaner 14 years ago
parent
commit
928d2871d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/msgq/msgq.py.in

+ 1 - 1
src/bin/msgq/msgq.py.in

@@ -317,7 +317,7 @@ class MsgQ:
         return ret
         return ret
 
 
     def sendmsg(self, sock, env, msg = None):
     def sendmsg(self, sock, env, msg = None):
-        sock.send(self.preparemsg(env, msg))
+        self.send_prepared_msg(sock, self.preparemsg(env, msg))
 
 
     def send_prepared_msg(self, sock, msg):
     def send_prepared_msg(self, sock, msg):
         # Try to send the data, but only if there's nothing waiting
         # Try to send the data, but only if there's nothing waiting