small fixes

This commit is contained in:
Pin
2022-02-24 20:55:27 -05:00
parent 16801086ff
commit 7520553672
3 changed files with 8 additions and 4 deletions

View File

@@ -23,7 +23,6 @@ int checkHTTPVersion(char *version) {
int supported = -1; // Default fail state
char testVer[16];
strcpy(testVer, version);
//testVer[strlen(version) - 1] = '\0'; // Removing
for (int i = 0; i < NUM_SUPPORTED_VERSIONS; i++) {
if (!strcmp(testVer, supportedHTTPVersions[i])) {
supported = 0;