Remove unused check
[tedtools.git] / 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) );
-               if ( ret == CS_ERROR ) return ret;
                if ( TC_Read(cs) == CS_ERROR ) return CS_ERROR;
        }