commit 42ef7d6c16a9567330f015f30d1c1d3b2b5e2005 parent ebd87ed6cdd0ae4e3af27d30307fd2bd8e7cfd23 Author: phoebos <ben@bvnf.space> Date: Mon, 10 Oct 2022 17:53:47 +0100 stop looking after found correct op Diffstat:
M | baddc.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/baddc.c b/baddc.c @@ -240,6 +240,7 @@ int main(int argc, char **argv) { for (size_t j = 0; j < NUM_OPS; j++) { if (buf[i] == ops[j].op) { ops[j].f(); + break; } } }