Quick fix

Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
This commit is contained in:
Anthony Super 2013-07-08 11:05:20 -06:00
parent c00cf85078
commit dd8d34d460
2 changed files with 4 additions and 5 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.DS_Store

View File

@ -569,11 +569,7 @@ void handle_incomings()
while(1) while(1)
{ {
income = incoming_connection(); income = incoming_connection();
if(income == -1) if(income == -1 || new_incoming(income) )
{
break;
}
if(new_incoming(income))
{ {
break; break;
} }