From 9525d66afbdcf6632ac8a76dd8380343ddc51cd1 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Mon, 1 Mar 2021 19:35:37 +0100 Subject: [PATCH] Revert "follow spec, fread() get nmemb-1" This reverts commit fbacb351702606ad36ec921d2e2972ed996d48eb. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 29e55e3..e3c4bb2 100644 --- a/main.c +++ b/main.c @@ -20,7 +20,7 @@ #include "utils.h" #define GEMINI_PART 9 -#define GEMINI_REQUEST_MAX 1025 /* https://gemini.circumlunar.space/docs/specification.html + ending \0 */ +#define GEMINI_REQUEST_MAX 1024 /* https://gemini.circumlunar.space/docs/specification.html */