}
if (cl->client_addr && cl->server &&
- ((cl->server->type & ECORE_CON_REMOTE_UDP) ||
- (cl->server->type & ECORE_CON_REMOTE_MCAST)))
+ (((cl->server->type & ECORE_CON_TYPE) == ECORE_CON_REMOTE_UDP) ||
+ ((cl->server->type & ECORE_CON_TYPE) == ECORE_CON_REMOTE_MCAST)))
free(cl->client_addr);
data = cl->data;
if (((e->client->event_count == 0) && (e->client->delete_me)) ||
((e->client->server &&
- (e->client->server->type & ECORE_CON_REMOTE_UDP ||
- e->client->server->type & ECORE_CON_REMOTE_MCAST))))
+ ((e->client->server->type & ECORE_CON_TYPE) == ECORE_CON_REMOTE_UDP ||
+ (e->client->server->type & ECORE_CON_TYPE) == ECORE_CON_REMOTE_MCAST))))
ecore_con_client_del(e->client);
free(e);