1
0
mirror of https://frontier.innolan.net/rainlance/amiga-fping.git synced 2026-03-19 19:26:52 +00:00

trivial: fix indenting

This commit is contained in:
David Schweikert
2012-05-21 15:03:33 +02:00
parent 74066a00ea
commit ecaca317d7

View File

@ -2637,12 +2637,12 @@ int recvfrom_wto( int s, char *buf, int len, FPING_SOCKADDR *saddr, long timo )
select_again:
if(timo < 100000) {
to.tv_sec = 0;
to.tv_usec = timo * 10;
to.tv_sec = 0;
to.tv_usec = timo * 10;
}
else {
to.tv_sec = timo / 100000 ;
to.tv_usec = (timo % 100000) * 10 ;
to.tv_sec = timo / 100000 ;
to.tv_usec = (timo % 100000) * 10 ;
}
FD_ZERO( &readset );
@ -2651,13 +2651,13 @@ select_again:
nfound = select( s + 1, &readset, &writeset, NULL, &to );
if(nfound < 0) {
if(errno == EINTR) {
/* interrupted system call: redo the select */
goto select_again;
}
else {
errno_crash_and_burn( "select" );
}
if(errno == EINTR) {
/* interrupted system call: redo the select */
goto select_again;
}
else {
errno_crash_and_burn( "select" );
}
}
if( nfound == 0 )