Procházet zdrojové kódy

bugfix fix http recv error

ethan.du před 5 roky
rodič
revize
93c10b50f1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      ports/rtthread/HAL_TCP_rtthread.c

+ 1 - 1
ports/rtthread/HAL_TCP_rtthread.c

@@ -175,7 +175,7 @@ int32_t HAL_TCP_Read(_IN_ uintptr_t fd, _OU_ unsigned char *buf, _IN_ size_t len
         }
         else if (0 == ret) 
         {
-            break;
+            continue;
         }
         else 
         {