MCPcopy Create free account
hub / github.com/ElementsProject/lightning / opt_set_talstr

Function opt_set_talstr

common/configdir.c:20–24  ·  view source on GitHub ↗

Override a tal string; frees the old one. */

Source from the content-addressed store, hash-verified

18
19/* Override a tal string; frees the old one. */
20char *opt_set_talstr(const char *arg, char **p)
21{
22 tal_free(*p);
23 return opt_set_charp(tal_strdup(options_ctx, arg), p);
24}
25
26static char *opt_set_abspath(const char *arg, char **p)
27{

Callers

nothing calls this directly

Calls 2

tal_freeFunction · 0.85
opt_set_charpFunction · 0.85

Tested by

no test coverage detected