diff options
author | Anthony Super <subtlehyperbole.thesuper@gmail.com> | 2013-07-08 11:05:20 -0600 |
---|---|---|
committer | Anthony Super <subtlehyperbole.thesuper@gmail.com> | 2013-07-08 11:05:20 -0600 |
commit | dd8d34d460ebedc386c9546724f4f22e51de2fdf (patch) | |
tree | cc488ebd9519f6d9b00c67911efd0d569cc58222 /core/net_crypto.c | |
parent | c00cf85078a3d0ba372dc95d9ca1f54007d10ba5 (diff) |
Quick fix
Used two if statements, both of which just broke a loop. Just threw them together with ||. Should be slightly faster.
Diffstat (limited to 'core/net_crypto.c')
-rw-r--r-- | core/net_crypto.c | 6 |
1 files changed, 1 insertions, 5 deletions
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 | } |