| 34 | } |
| 35 | |
| 36 | static struct command_result *command_failed(struct command *cmd, |
| 37 | const char *method, |
| 38 | const char *buf, |
| 39 | const jsmntok_t *result, |
| 40 | struct connect_info *ci) |
| 41 | { |
| 42 | return ci->fail(cmd, json_strdup(tmpctx, buf, result), ci->arg); |
| 43 | } |
| 44 | |
| 45 | static struct command_result *connect_direct(struct command *cmd, |
| 46 | struct connect_info *ci) |
nothing calls this directly
no test coverage detected