mirror of
https://github.com/albertobsd/keyhunt.git
synced 2025-03-17 13:21:46 +01:00
Fix typo in point hex check
This commit is contained in:
parent
f56ff6740f
commit
32ef8ae5c2
@ -2383,7 +2383,7 @@ void* client_handler(void* arg) {
|
||||
close(client_fd);
|
||||
pthread_exit(NULL);
|
||||
}
|
||||
if(!(isValidHex(t.tokens[1]) && isValidHex(t.tokens[1]))) {
|
||||
if(!(isValidHex(t.tokens[1]) && isValidHex(t.tokens[2]))) {
|
||||
printf("Invalid hexadecimal format from client %s:%s\n",t.tokens[1],t.tokens[2]);
|
||||
freetokenizer(&t);
|
||||
sendstr(client_fd,"400 Bad Request");
|
||||
|
Loading…
x
Reference in New Issue
Block a user