Bugzilla bug #31437: this goto statement inside the while loop can be

replaced by a continue statement.
This commit is contained in:
wtc%netscape.com 2000-03-29 21:47:08 +00:00
Родитель 8a9e1fd79c
Коммит 8bc19b2998
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -864,7 +864,6 @@ PRInt32 _MD_send(PRFileDesc *fd, const void *buf, PRInt32 amount,
* write() are fairly equivalent in performance.
*/
#if defined(SOLARIS)
retry:
PR_ASSERT(0 == flags);
while ((rv = write(osfd,buf,tmp_amount)) == -1) {
#else
@ -894,7 +893,7 @@ retry:
if (err == ERANGE) {
if (tmp_amount > 1) {
tmp_amount = tmp_amount/2; /* half the bytes */
goto retry;
continue;
}
}
#endif