rem: && (_w->event_type == EVENT_PRESENCE_WINFO)) {
add: && (_w->event_package == EVENT_PRESENCE_WINFO)) {
context: int send_notify(struct presentity* _p, struct watcher* _w){	int rc;	body.len = 0;	if (_w->uri.s == NULL) {		LOG(L_ERR, "watcher uri.s is NULL\n");		return -1;	}	if (strlen(_w->uri.s) == 0) {		LOG(L_ERR, "watcher uri.s is zero length\n");		return -2;	}	LOG(L_ERR, "notifying %.*s _p->flags=%x _w->event_type=%d _w->accept=%d\n", 	    _w->uri.len, _w->uri.s, _p->flags, _w->event_type, _w->accept);	if ((_p->flags & (PFLAG_PRESENCE_CHANGED|PFLAG_WATCHERINFO_CHANGED)) 	    && (_w->event_type == EVENT_PRESENCE)) {		switch(_w->accept) {		case DOC_XPIDF:			return send_xpidf_notify(_p, _w);			return 0;		case DOC_LPIDF:			return send_lpidf_notify(_p, _w);			return 0;		case DOC_PIDF:		default:			return send_pidf_notify(_p, _w);			return 0;			/* inapplicable */		  ;		}	}	if ((_p->flags & PFLAG_WATCHERINFO_CHANGED) 	    && (_w->event_type == EVENT_PRESENCE_WINFO)) {		switch(_w->accept) {		case DOC_WINFO:			rc = send_winfo_notify(_p, _w);			if (rc) LOG(L_ERR, "send_winfo_notify returned %d\n", rc);			return rc;		default:			/* inapplicable */		  ;		}	}	if ((_p->flags & PFLAG_XCAP_CHANGED) 	    && (_w->event_type == EVENT_XCAP_CHANGE)) {		switch(_w->accept) {		case DOC_XCAP_CHANGE:		default:			rc = send_xcap_change_notify(_p, _w);			if (rc) LOG(L_ERR, "send_xcap_change_notify returned %d\n", rc);			return rc;			/* inapplicable */		}	}	if ((_p->flags & PFLAG_LOCATION_CHANGED) 	    && (_w->event_type == EVENT_LOCATION)) {		switch(_w->accept) {		case DOC_LOCATION:			rc = send_location_notify(_p, _w);			if (rc) LOG(L_ERR, "send_location_notify returned %d\n", rc);			return rc;		default:			/* inapplicable */		  ;		}	}	return -1;}