]> granicus.if.org Git - curl/commitdiff
fix previous commit misplaced break statement
authorYang Tse <yangsita@gmail.com>
Wed, 11 Mar 2009 04:45:18 +0000 (04:45 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 11 Mar 2009 04:45:18 +0000 (04:45 +0000)
lib/telnet.c

index 7c0b20283127e38c3afdb6ce9eac22a250125bc4..d0d211a6bcc53de131b19066a8748d98dbd3ce34 100644 (file)
@@ -1366,8 +1366,8 @@ static CURLcode telnet_do(struct connectdata *conn, bool *done)
           infof(data,"WSAEnumNetworkEvents failed (%d)", err);
           keepon = FALSE;
           code = CURLE_READ_ERROR;
-          break;
         }
+        break;
       }
       if(events.lNetworkEvents & FD_READ) {
         /* This reallu OUGHT to check its return code. */