Changeset 6372
- Timestamp:
- 12/01/08 13:27:07 (1 month ago)
- Files:
-
- trunk/libwired/libwired/net/wi-socket.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libwired/libwired/net/wi-socket.c
r6261 r6372 1445 1445 interval += 0.1; 1446 1446 1447 if(interval >= timeout) 1447 if(interval >= timeout) { 1448 1448 wi_error_set_errno(ETIMEDOUT); 1449 1450 break; 1451 } 1449 1452 } 1450 1453 } else { … … 1456 1459 } 1457 1460 } 1458 } while(bytes <= 0 && interval <= timeout);1461 } while(bytes <= 0); 1459 1462 } else { 1460 1463 #endif … … 1595 1598 interval += 0.1; 1596 1599 1597 if(interval >= timeout) 1600 if(interval >= timeout) { 1598 1601 wi_error_set_errno(ETIMEDOUT); 1602 1603 break; 1604 } 1599 1605 } 1600 1606 } else { … … 1606 1612 } 1607 1613 } 1608 } while(bytes <= 0 && interval <= timeout);1614 } while(bytes <= 0); 1609 1615 } else { 1610 1616 #endif
