mirror of
https://github.com/albertobsd/keyhunt.git
synced 2025-10-10 13:03:39 +02:00
Fix typo in point hex check
This commit is contained in:
@@ -2383,7 +2383,7 @@ void* client_handler(void* arg) {
|
|||||||
close(client_fd);
|
close(client_fd);
|
||||||
pthread_exit(NULL);
|
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]);
|
printf("Invalid hexadecimal format from client %s:%s\n",t.tokens[1],t.tokens[2]);
|
||||||
freetokenizer(&t);
|
freetokenizer(&t);
|
||||||
sendstr(client_fd,"400 Bad Request");
|
sendstr(client_fd,"400 Bad Request");
|
||||||
|
Reference in New Issue
Block a user