diff mbox series

suricatta: wrong exit from server.send_target_data

Message ID 20210616084708.40449-1-stefano.babic@babic.homelinux.org
State Accepted
Headers show
Series suricatta: wrong exit from server.send_target_data | expand

Commit Message

Stefano Babic June 16, 2021, 8:47 a.m. UTC
From: Stefano Babic <sbabic@denx.de>

Both continue and break are set - drop the continue to avoid endless
loop if no server is found.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 suricatta/suricatta.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/suricatta/suricatta.c b/suricatta/suricatta.c
index c7dfa65..59b73c4 100644
--- a/suricatta/suricatta.c
+++ b/suricatta/suricatta.c
@@ -226,7 +226,6 @@  int start_suricatta(const char *cfgfname, int argc, char *argv[])
 			case SERVER_ID_REQUESTED:
 				server.send_target_data();
 				trigger = true;
-				continue;
 				break;
 			case SERVER_EINIT:
 				break;