follow spec, fread() get nmemb-1

This commit is contained in:
prx 2021-02-25 20:30:30 +01:00
parent efa1f639fc
commit fbacb35170

2
main.c
View file

@ -20,7 +20,7 @@
#include "utils.h"
#define GEMINI_PART 9
#define GEMINI_REQUEST_MAX 1024 /* https://gemini.circumlunar.space/docs/specification.html */
#define GEMINI_REQUEST_MAX 1025 /* https://gemini.circumlunar.space/docs/specification.html + ending \0 */