rem: LOG(L_ERR, "update_presentity(): Unsupported event package\n");
add: LOG(L_ERR, "create_presentity(): Unsupported event package\n");
context: int create_presentity(struct sip_msg* _m, struct pdomain* _d, str* _puri, 			     struct presentity** _p, struct watcher** _w){	time_t e;	int et = 0;	int res = 0;	et = get_event(_m);	e = get_expires(_m);	if (verify_event_package(et) != 0) {		LOG(L_ERR, "update_presentity(): Unsupported event package\n");		paerrno = PA_EVENT_UNSUPP;		return -1;	}	/* Convert to absolute time if nonzero (zero = polling) */	if (e > 0) e += act_time;	if (new_presentity(_d, _puri, _p) < 0) {		LOG(L_ERR, "create_presentity(): Error while creating presentity\n");		return -2;	}	res = create_watcher(_m, *_p, _w, et, e);	if (res != 0) {		/* remove presentity from database !!*/		db_remove_presentity(*_p);		free_presentity(*_p);		return res;	}	add_presentity(_d, *_p);	return 0;}