rem: db_read_watcherinfo(presentity);
add: db_read_watcherinfo(presentity, pa_db);
context: int fifo_pa_watcherinfo(FILE *fifo, char *response_file){     char pdomain_s[MAX_P_URI];     char p_uri_s[MAX_P_URI];     pdomain_t *pdomain = NULL;     presentity_t *presentity = NULL;     str pdomain_name, p_uri;     if (!read_line(pdomain_s, MAX_PDOMAIN, fifo, &pdomain_name.len) || pdomain_name.len == 0) {	  fifo_reply(response_file,		     "400 pa_watcherinfo: pdomain expected\n");	  LOG(L_ERR, "ERROR: pa_watcherinfo: pdomain expected\n");	  return 1;     }     pdomain_name.s = pdomain_s;     if (!read_line(p_uri_s, MAX_P_URI, fifo, &p_uri.len) || p_uri.len == 0) {	  fifo_reply(response_file,		     "400 pa_watcherinfo: p_uri expected\n");	  LOG(L_ERR, "ERROR: pa_watcherinfo: p_uri expected\n");	  return 1;     }     p_uri.s = p_uri_s;     register_pdomain(pdomain_s, &pdomain);     if (!pdomain) {	  fifo_reply(response_file, "400 could not register pdomain\n");	  LOG(L_ERR, "ERROR: pa_watcherinfo: could not register pdomain %.*s\n",	      pdomain_name.len, pdomain_name.s);	  return 1;     }     lock_pdomain(pdomain);     find_presentity(pdomain, &p_uri, &presentity);     if (presentity) {       db_read_watcherinfo(presentity);     }     unlock_pdomain(pdomain);     fifo_reply(response_file, "200 watcherinfo updated\n",		"(%.*s)\n",		p_uri.len, ZSW(p_uri.s));     return 1;}