Compare commits

..

2 Commits

Author SHA1 Message Date
e3d2d44e1a copypaste fix 2023-12-17 22:20:43 +01:00
e6ea1d07cd important comment 2023-12-17 22:20:38 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ ifeq ($(DEBUG), 1)
CFLAGS += -Wall -Wextra -Wpedantic
CFLAGS += -DDEBUG -O0 -ggdb -fno-inline
else
CFLAGS += -O3 -fno-stack-protector -fno-rtti
CFLAGS += -O3 -fno-stack-protector
endif
LDLIBS := -lircclient

View File

@ -36,8 +36,8 @@ typedef struct {
char * user;
language_t language;
struct itimerval timer;
char * buffer[128];
unsigned int buffer_head;
char * buffer[128]; // XXX: no overflow detection/avertion
unsigned int buffer_head; // is implemented on this bunch
} request_t;
void init_request(request_t * request) {