mirror of
https://codeberg.org/grunfink/snac2.git
synced 2025-02-16 16:05:00 +00:00
Logging tweaks.
This commit is contained in:
parent
86d2452d26
commit
61647de38b
3 changed files with 3 additions and 13 deletions
|
@ -1855,7 +1855,7 @@ int process_input_message(snac *snac, xs_dict *msg, xs_dict *req)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
snac_log(snac, xs_fmt("warning: empty or null creation date for %s", actor));
|
snac_debug(snac, 1, xs_fmt("warning: empty or null creation date for %s", actor));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(type, "Follow") == 0) { /** **/
|
if (strcmp(type, "Follow") == 0) { /** **/
|
||||||
|
|
4
data.c
4
data.c
|
@ -2225,7 +2225,7 @@ void enqueue_input(snac *snac, const xs_dict *msg, const xs_dict *req, int retri
|
||||||
|
|
||||||
qmsg = _enqueue_put(fn, qmsg);
|
qmsg = _enqueue_put(fn, qmsg);
|
||||||
|
|
||||||
snac_debug(snac, 1, xs_fmt("enqueue_input %s", fn));
|
snac_debug(snac, 1, xs_fmt("enqueue_input %s %s", fn, xs_dict_get(msg, "id")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2240,7 +2240,7 @@ void enqueue_shared_input(const xs_dict *msg, const xs_dict *req, int retries)
|
||||||
|
|
||||||
qmsg = _enqueue_put(fn, qmsg);
|
qmsg = _enqueue_put(fn, qmsg);
|
||||||
|
|
||||||
srv_debug(1, xs_fmt("enqueue_shared_input %s", fn));
|
srv_debug(1, xs_fmt("enqueue_shared_input %s %s", fn, xs_dict_get(msg, "id")));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
10
main.c
10
main.c
|
@ -57,16 +57,6 @@ char *get_argv(int *argi, int argc, char *argv[])
|
||||||
|
|
||||||
#define GET_ARGV() get_argv(&argi, argc, argv)
|
#define GET_ARGV() get_argv(&argi, argc, argv)
|
||||||
|
|
||||||
#include "xs_html.h"
|
|
||||||
|
|
||||||
xs_html *html_note(snac *user, char *summary,
|
|
||||||
char *div_id, char *form_id,
|
|
||||||
char *ta_plh, char *ta_content,
|
|
||||||
char *edit_id, char *actor_id,
|
|
||||||
xs_val *cw_yn, char *cw_text,
|
|
||||||
xs_val *mnt_only, char *redir,
|
|
||||||
char *in_reply_to, int poll);
|
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char *cmd;
|
char *cmd;
|
||||||
|
|
Loading…
Reference in a new issue