| 376 | |
| 377 | |
| 378 | static 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) */ |
nothing calls this directly
no test coverage detected