summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-10-05 19:02:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-10-05 19:02:38 +0200
commitb46ed5a2a251a312b087f9f39c62a8e357298926 (patch)
tree443c9f7431f2b44e96aaefe50d1d0f6b83616be9 /src/gui
parent1d104bb9406f7b881696e540769d8f6da36859e8 (diff)
downloadweechat-b46ed5a2a251a312b087f9f39c62a8e357298926.zip
core: use larger buffer for errors when creating a filter
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c
index 0e81b8fa0..19858d68e 100644
--- a/src/gui/gui-filter.c
+++ b/src/gui/gui-filter.c
@@ -363,7 +363,7 @@ gui_filter_new (int enabled, const char *name, const char *buffer_name,
{
struct t_gui_filter *new_filter;
regex_t *regex1, *regex2;
- char *pos_tab, *regex_prefix, buf[512], str_error[512];
+ char *pos_tab, *regex_prefix, buf[512], str_error[1024];
const char *ptr_start_regex, *pos_regex_message;
int rc;