Browse Source

tpws: fix clang warning

pull/193/head
bol-van 11 months ago
parent
commit
222fb283c8
  1. 3
      tpws/tamper.c

3
tpws/tamper.c

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

Loading…
Cancel
Save