Ensure the request protocol on its own is properly parsed.
This fixes a regression introduced by
@@ -1151,7 +1151,7 @@ parse_specifier (GLogItem * logitem, char **str, const char *p, const char *end)
if (!(tkn = parse_string (&(*str), end, 1)))
return spec_err (logitem, SPEC_TOKN_NUL, *p, NULL);
- if (invalid_protocol (tkn)) {
+ if (!invalid_protocol (tkn)) {
spec_err (logitem, SPEC_TOKN_INV, *p, tkn);
free (tkn);
return 1;
