MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / fixup_db_url

Function fixup_db_url

modules/sqlops/sqlops.c:378–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376
377
378static int fixup_db_url(void ** param)
379{
380 struct db_url* url;
381
382 if (id2db_url(*(unsigned int*)*param, 0, 0, &url) < 0) {
383 LM_ERR("failed to get DB URL\n");
384 return E_CFG;
385 }
386
387 *param=(void *)url;
388 return 0;
389}
390
391
392/* parse the name avp again when adding an avp name prefix (param 4) */

Callers

nothing calls this directly

Calls 1

id2db_urlFunction · 0.85

Tested by

no test coverage detected