Merge pull request #17 from SHTheSuper/master

Small optimization.
This commit is contained in:
irungentoo 2013-07-08 10:20:33 -07:00
commit ea2459f3a5
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)
{
income = incoming_connection();
if(income == -1)
{
break;
}
if(new_incoming(income))
if(income == -1 || new_incoming(income) )
{
break;
}