Replace strncpy with snprintf where necessary

This commit is contained in:
2021-05-11 22:10:02 +02:00
parent 43c512dc5a
commit 4994b4375b
6 changed files with 7 additions and 6 deletions

View File

@ -42,7 +42,7 @@
typedef struct {
unsigned short code;
char type[16];
char msg[32];
char msg[64];
} http_status;
typedef struct {