mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Deleted dump of debugging code.
This commit is contained in:
parent
f209c3205d
commit
8b4dbfd708
1 changed files with 0 additions and 8 deletions
|
@ -805,14 +805,6 @@ int process_message(snac *snac, char *msg, char *req)
|
|||
|
||||
/* check the signature */
|
||||
if (!check_signature(snac, req)) {
|
||||
{
|
||||
xs *j = xs_json_dumps_pp(req, 4);
|
||||
FILE *f;
|
||||
if ((f = fopen("/tmp/snac-bad-signature.json", "w")) != NULL) {
|
||||
fwrite(j, strlen(j), 1, f);
|
||||
fclose(f);
|
||||
}
|
||||
}
|
||||
snac_log(snac, xs_fmt("bad signature"));
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue