about summary refs log tree commit diff
path: root/sami.c
diff options
context:
space:
mode:
Diffstat (limited to 'sami.c')
-rw-r--r--sami.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sami.c b/sami.c
index 8ae01c6..80bda70 100644
--- a/sami.c
+++ b/sami.c
@@ -82,11 +82,9 @@ retry:
 				continue;
 			}
 			if (handler(&actor[i], buffer, sz))
-				goto end;
+				exit(0);
 		}
 		goto retry;
-end:
-		exit(0);
 	}
 
 	close(pair[1]);