search_promisc.c (ettercap-0.8.3) | : | search_promisc.c (ettercap-0.8.3.1) | ||
---|---|---|---|---|
skipping to change at line 175 | skipping to change at line 175 | |||
static int search_promisc_fini(void *dummy) | static int search_promisc_fini(void *dummy) | |||
{ | { | |||
/* variable not used */ | /* variable not used */ | |||
(void) dummy; | (void) dummy; | |||
pthread_t pid; | pthread_t pid; | |||
pid = ec_thread_getpid("search_promisc"); | pid = ec_thread_getpid("search_promisc"); | |||
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("search_promisc: plugin terminated...\n"); | INSTANT_USER_MSG("search_promisc: plugin terminated...\n"); | |||
return PLUGIN_FINISHED; | return PLUGIN_FINISHED; | |||
} | } | |||
/*********************************************************/ | /*********************************************************/ | |||
/* Parse the reply to our bougs requests */ | /* Parse the reply to our bougs requests */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |