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