summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--core/net_crypto.c6
2 files changed, 4 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..f7500447
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
1
2.DS_Store
3
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()
569 while(1) 569 while(1)
570 { 570 {
571 income = incoming_connection(); 571 income = incoming_connection();
572 if(income == -1) 572 if(income == -1 || new_incoming(income) )
573 {
574 break;
575 }
576 if(new_incoming(income))
577 { 573 {
578 break; 574 break;
579 } 575 }