diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..f7500447 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ + +.DS_Store + diff --git a/core/net_crypto.c b/core/net_crypto.c index 980250d0..bcdb2030 100644 --- a/core/net_crypto.c +++ b/core/net_crypto.c @@ -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; }