mirror of
https://github.com/drk1wi/portspoof.git
synced 2024-06-25 00:09:01 +00:00
Small corrections
This commit is contained in:
parent
600287f90f
commit
2840d11341
@ -78,7 +78,8 @@ void* process_connection(void *arg)
|
||||
char* msg;
|
||||
|
||||
while(1) {
|
||||
|
||||
|
||||
usleep(100);
|
||||
for(int i = 0; i < MAX_CLIENT_PER_THREAD; i++)
|
||||
{
|
||||
|
||||
@ -90,7 +91,7 @@ void* process_connection(void *arg)
|
||||
if(configuration->getConfigValue(OPT_NOT_NMAP_SCANNER))
|
||||
n = 1; // just reply...
|
||||
else
|
||||
n = recv(threads[tid].clients[i], buffer,1, 0);
|
||||
n = recv(threads[tid].clients[i], buffer,1000, 0);
|
||||
|
||||
|
||||
// deal with different recv buffer size
|
||||
|
Loading…
Reference in New Issue
Block a user