tpws: fix clang warning

This commit is contained in:
bol-van 2024-06-13 15:35:40 +03:00
parent 029e4cadd7
commit 222fb283c8

View File

@ -36,9 +36,10 @@ static size_t tls_pos(enum tlspos tpos_type, size_t tpos_pos, const uint8_t *tls
// fall through
case tlspos_pos:
return tpos_pos;
}
default:
return 0;
}
}
static const char *http_methods[] = { "GET /","POST /","HEAD /","OPTIONS /","PUT /","DELETE /","CONNECT /","TRACE /",NULL };