This commit is contained in:
2026-05-25 22:13:06 +02:00
parent cb6211832e
commit 7e4124541f

View File

@@ -1,4 +1,4 @@
// gcc fastfetch_server.c -o fastfetch_server -O3 -Wall -Wextra -lpthread
// gcc fastfetch_server.c -o fastfetch_server -O3 -lpthread
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -19,7 +19,7 @@ static struct {
ratelimit_t data[256];
size_t next;
pthread_mutex_t lock;
} ratelimit_table = { {{0}}, 0, PTHREAD_MUTEX_INITIALIZER };
} ratelimit_table = { {0}, 0, PTHREAD_MUTEX_INITIALIZER };
typedef struct pthread_input_t {
int client_fd;
@@ -146,7 +146,7 @@ int main(int argc, char *argv[]) {
"\t ports below 1024\n"
"get latest version with:\n"
"\t wget https://gitea.codersquack.nl/tema5002/.profile/raw/branch/main/fastfetch_server.c\n"
"\t gcc fastfetch_server.c -o fastfetch_server -O3 -Wall -Wextra -lpthread\n"
"\t gcc fastfetch_server.c -o fastfetch_server -O3 -lpthread\n"
"so far tested on:\n"
"\t GNU/Linux on x86_32/x86_64 with glibc/musl");
return 0;