Author: tack
Date: Sat Dec  9 20:43:50 2006
New Revision: 2202

Modified:
   trunk/base/src/rpc.py

Log:
Better order.


Modified: trunk/base/src/rpc.py
==============================================================================
--- trunk/base/src/rpc.py       (original)
+++ trunk/base/src/rpc.py       Sat Dec  9 20:43:50 2006
@@ -305,7 +305,7 @@
         if buflen < header_size:
             return
 
-        if buflen > 1024 and not self._authenticated:
+        if not self._authenticated and buflen > 1024:
             # Because we are not authenticated, we shouldn't have more than 1k
             # in the buffer.  If we do it's because the remote has sent a
             # large amount of data before completing authentication.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to