| 539 | } |
| 540 | |
| 541 | static struct command_result *after_send_scb_single(struct command *cmd, |
| 542 | const char *method, |
| 543 | const char *buf, |
| 544 | const jsmntok_t *params, |
| 545 | struct info *info) |
| 546 | { |
| 547 | plugin_log(cmd->plugin, LOG_TRACE, "Peer storage sent!"); |
| 548 | if (--(*info->idx) != 0) |
| 549 | return command_still_pending(cmd); |
| 550 | |
| 551 | return notification_or_hook_done(cmd); |
| 552 | } |
| 553 | |
| 554 | static struct command_result *after_send_scb_single_fail(struct command *cmd, |
| 555 | const char *method, |
nothing calls this directly
no test coverage detected