follow spec, fread() get nmemb-1

This commit is contained in:
prx 2021-02-25 20:30:30 +01:00
parent efa1f639fc
commit fbacb35170
1 changed files with 1 additions and 1 deletions

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 */