| 205 | } |
| 206 | |
| 207 | static struct command_result *spam_errcb(struct command *cmd, |
| 208 | const char *method, |
| 209 | const char *buf, |
| 210 | const jsmntok_t *tok, |
| 211 | void *unused) |
| 212 | { |
| 213 | plugin_err(cmd->plugin, "%.*s", |
| 214 | json_tok_full_len(tok), |
| 215 | json_tok_full(buf, tok)); |
| 216 | } |
| 217 | |
| 218 | static struct command_result *json_spamcommand(struct command *cmd, |
| 219 | const char *buf, |
nothing calls this directly
no test coverage detected