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

Function ignore_reply

lightningd/subd.c:125–133  ·  view source on GitHub ↗

Called when the callback is disabled because caller was freed. */

Source from the content-addressed store, hash-verified

123
124/* Called when the callback is disabled because caller was freed. */
125static void ignore_reply(struct subd *sd, const u8 *msg UNUSED, const int *fds,
126 void *arg UNUSED)
127{
128 size_t i;
129
130 log_debug(sd->log, "IGNORING REPLY");
131 for (i = 0; i < tal_count(fds); i++)
132 close(fds[i]);
133}
134
135static void disable_cb(void *disabler UNUSED, struct subd_req *sr)
136{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected