| 812 | } |
| 813 | |
| 814 | static struct command_result *datastore_failed(struct command *cmd, |
| 815 | const char *method, |
| 816 | const char *buf, |
| 817 | const jsmntok_t *result, |
| 818 | char *what) |
| 819 | { |
| 820 | plugin_log(cmd->plugin, LOG_DBG, "datastore failed for %s: %.*s", |
| 821 | what, json_tok_full_len(result), json_tok_full(buf, result)); |
| 822 | return command_hook_success(cmd); |
| 823 | } |
| 824 | |
| 825 | /* Compares the data between the stored scb and latest recvd scb, |
| 826 | * stores the most recent one only. */ |
nothing calls this directly
no test coverage detected