Remove unused check
authorteodor <teodor>
Mon, 27 Sep 2004 12:38:02 +0000 (12:38 +0000)
committerteodor <teodor>
Mon, 27 Sep 2004 12:38:02 +0000 (12:38 +0000)
tcp.c

diff --git a/tcp.c b/tcp.c
index d4204a1..76b0a19 100644 (file)
--- a/tcp.c
+++ b/tcp.c
@@ -434,7 +434,6 @@ TC_Talk( TC_Connection *cs ) {
        cs->ptr = cs->buf;
        while( cs->state != CS_FINISHREAD ) {
                while( !TC_ReadyIO( &cs, 1, 100) );
        cs->ptr = cs->buf;
        while( cs->state != CS_FINISHREAD ) {
                while( !TC_ReadyIO( &cs, 1, 100) );
-               if ( ret == CS_ERROR ) return ret;
                if ( TC_Read(cs) == CS_ERROR ) return CS_ERROR;
        }
 
                if ( TC_Read(cs) == CS_ERROR ) return CS_ERROR;
        }