add: watcher_t* ptr, *t;  ptr = _p->watchers;  print_presentity(stdout, _p); while(ptr) { if (ptr->expires <= act_time) { LOG(L_ERR, "Removing watcher %.*s\n", ptr->uri.len, ptr->uri.s); ptr->expires = 0; send_notify(_p, ptr); t = ptr; ptr = ptr->next; remove_watcher(_p, t); free_watcher(t); continue; }  ptr = ptr->next; }
context: int timer_presentity(presentity_t* _p){	return 0;}