use macro
This commit is contained in:
parent
e3cb05af6d
commit
e3448992bc
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -197,7 +197,7 @@ main(int argc, char **argv)
|
|||
* check if the beginning of the request starts with
|
||||
* gemini://
|
||||
*/
|
||||
start_with_gemini = strncmp(request, "gemini://", 9);
|
||||
start_with_gemini = strncmp(request, "gemini://", GEMINI_PART);
|
||||
|
||||
/* the request must start with gemini:// */
|
||||
if (start_with_gemini != 0) {
|
||||
|
|
Loading…
Reference in a new issue