rem: if (start_winfo_doc(&body, BUF_LEN) < 0) {
add: if (start_winfo_doc(&body, BUF_LEN, _w) < 0) {
context: static int send_winfo_notify(struct presentity* _p, struct watcher* _w){	watcher_t *watcher = _p->watchers;	LOG(L_INFO, "send_winfo_notify: watcher=%p winfo_watcher=%p\n", watcher, _w);	if (start_winfo_doc(&body, BUF_LEN) < 0) {		LOG(L_ERR, "send_winfo_notify(): start_winfo_doc failed\n");		return -1;	}	if (winfo_start_resource(&body, BUF_LEN - body.len, &_p->uri, _w) < 0) {		LOG(L_ERR, "send_winfo_notify(): winfo_add_resource failed\n");		return -3;	}	while (watcher) {		if (winfo_add_watcher(&body, BUF_LEN - body.len, watcher) < 0) {			LOG(L_ERR, "send_winfo_notify(): winfo_add_watcher failed\n");			return -3;		}		watcher = watcher->next;	}	if (winfo_end_resource(&body, BUF_LEN - body.len) < 0) {		LOG(L_ERR, "send_winfo_notify(): winfo_add_resource failed\n");		return -5;	}	if (end_winfo_doc(&body, BUF_LEN - body.len) < 0) {		LOG(L_ERR, "send_winfo_notify(): end_xwinfo_doc failed\n");		return -6;	}	if (create_headers(_w) < 0) {		LOG(L_ERR, "send_winfo_notify(): Error while adding headers\n");		return -7;	}	tmb.t_request_within(&method, &headers, &body, _w->dialog, 0, 0);	return 0;}