scan_poisoner.c (ettercap-0.8.3) | : | scan_poisoner.c (ettercap-0.8.3.1) | ||
---|---|---|---|---|
skipping to change at line 164 | skipping to change at line 164 | |||
static int scan_poisoner_fini(void *dummy) | static int scan_poisoner_fini(void *dummy) | |||
{ | { | |||
/* variable not used */ | /* variable not used */ | |||
(void) dummy; | (void) dummy; | |||
pthread_t pid; | pthread_t pid; | |||
pid = ec_thread_getpid("scan_poisoner"); | pid = ec_thread_getpid("scan_poisoner"); | |||
if (!pthread_equal(pid, EC_PTHREAD_NULL)) | if (!pthread_equal(pid, ec_thread_getpid(NULL))) | |||
ec_thread_destroy(pid); | ec_thread_destroy(pid); | |||
INSTANT_USER_MSG("scan_poisoner: plugin terminated...\n"); | INSTANT_USER_MSG("scan_poisoner: plugin terminated...\n"); | |||
return PLUGIN_FINISHED; | return PLUGIN_FINISHED; | |||
} | } | |||
/*********************************************************/ | /*********************************************************/ | |||
/* Check icmp replies */ | /* Check icmp replies */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |