git » msnlib » commit 10498f3

Fix input buffer lenght check.

author Alberto Bertogli
2005-04-23 02:39:36 UTC
committer Alberto Bertogli
2005-04-23 02:39:36 UTC
parent c449cb42fbf32fa386a9e6ba5e1985e45ad767a5

Fix input buffer lenght check.

msn +1 -1

diff --git a/msn b/msn
index b94fb75..308f670 100644
--- a/msn
+++ b/msn
@@ -677,7 +677,7 @@ def stdin_read():
 
 			# in an empty buffer we fill with the last received or
 			# the last sent
-			if len(inbuf) == 1:
+			if len(p) == 0:
 				if mtolsent:
 					inbuf = mtolsent
 					matchl_status = 2