summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-01-06 18:31:43 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-01-06 18:31:43 +0100
commit34fc75f992fbe1620f01e924ff5a8a4fe64de416 (patch)
tree416dbb5ad3ffd4fd24329ed5b8e64ea329ae4367
parentd06445c29b5f398d496c164b7da2d236be042f32 (diff)
downloadrvnit-34fc75f992fbe1620f01e924ff5a8a4fe64de416.tar.gz
rvnit-34fc75f992fbe1620f01e924ff5a8a4fe64de416.tar.xz
rvnit-34fc75f992fbe1620f01e924ff5a8a4fe64de416.zip
cleanup
-rw-r--r--rvnit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/rvnit.c b/rvnit.c
index e13867f..729d831 100644
--- a/rvnit.c
+++ b/rvnit.c
@@ -4,7 +4,6 @@
 #include <sys/wait.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-//#include <sys/stat.h>
 
 #include <ctype.h>
 #include <dirent.h>
@@ -279,8 +278,6 @@ logger_loop(void* ignored)
 {
 	(void)ignored;
 
-//	sigaction(SIGUSR2, &(struct sigaction){.sa_handler=on_sigusr2}, 0);
-
 	while (1) {
 		struct pollfd fds[MAX_SV];
 		nfds_t nfds = 0;
@@ -297,7 +294,6 @@ logger_loop(void* ignored)
 			}
 		}
 
-//		printf("waiting for %d logs\n", (int)nfds);
 		int n = poll(fds, nfds, -1);
 		if (n < 0)
 			continue;