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

Function fixup_branch_keep

core_cmds.c:499–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499static int fixup_branch_keep(void** param)
500{
501 str *s = (str*)*param;
502
503 /* default value is to discard */
504 *param = (void*)(long)0;
505 if (!s)
506 return 0;
507
508 if (str_strcasecmp(s, _str("keep")) == 0)
509 *param = (void*)(long)1;
510 return 0;
511}
512
513static int fixup_branch_index(void** param)
514{

Callers

nothing calls this directly

Calls 2

str_strcasecmpFunction · 0.85
_strClass · 0.85

Tested by

no test coverage detected