diff mrjunejune/main.c @ 36:84672efec192

[Zenbu] WIP fixing issues regarding to using edge only. I think there is a problem where socket closes before sending back the info.
author MrJuneJune <me@mrjunejune.com>
date Sun, 09 Nov 2025 06:25:16 -0800
parents 875bb6e10db7
children 4532ce6d9eb8
line wrap: on
line diff
--- a/mrjunejune/main.c	Thu Oct 30 09:53:22 2025 -0700
+++ b/mrjunejune/main.c	Sun Nov 09 06:25:16 2025 -0800
@@ -11,6 +11,12 @@
 
 #include "seobeo/seobeo.h"
 
+volatile sig_atomic_t stop_server = 0;
+
+void handle_sigint(int sig) {
+  printf("Failed\n");
+  stop_server = 1;
+}
 
 int main(void)
 {