From 74e73c3550887eb46212df7033a97f54b6ff41fe Mon Sep 17 00:00:00 2001 From: lxnay Date: Tue, 27 May 2008 13:42:02 +0000 Subject: [PATCH] Entropy/Socket Interface: - improve buffer handling reliability git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1993 cd1c1023-2f26-0410-ae45-c471fc1f0318 --- libraries/entropy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entropy.py b/libraries/entropy.py index d907cb518..f8334207a 100644 --- a/libraries/entropy.py +++ b/libraries/entropy.py @@ -12090,7 +12090,7 @@ class SocketHostInterface: self.data_counter -= len(data) self.buffered_data += data while self.data_counter > 0: - x += self.request.recv(4096) + x = self.request.recv(4096) self.data_counter -= len(x) self.buffered_data += x self.data_counter = None