follow spec, fread() get nmemb-1
This commit is contained in:
parent
efa1f639fc
commit
fbacb35170
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -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 */
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue