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

Function opt_set_talstr

common/configdir.c:23–27  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

tal_freeFunction · 0.85
opt_set_charpFunction · 0.85

Tested by

no test coverage detected