Browse Source

Increased user-agent debug level.

grunfink 2 tuần trước cách đây
mục cha
commit
3f5f9d0d0d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      html.c

+ 1 - 1
html.c

@@ -4695,7 +4695,7 @@ int text_browser_friendly(const snac *user, const char *user_agent)
 /* basically, this means to avoid details/summary as much as possible */
 /* basically, this means to avoid details/summary as much as possible */
 {
 {
     if (user != NULL && xs_is_string(user_agent)) {
     if (user != NULL && xs_is_string(user_agent)) {
-        snac_debug(user, 1, xs_fmt("user-agent: %s", user_agent));
+        snac_debug(user, 2, xs_fmt("user-agent: %s", user_agent));
 
 
         const char *text_browser_uas = xs_dict_get(user->config, "text_browser_uas");
         const char *text_browser_uas = xs_dict_get(user->config, "text_browser_uas");