devilhorns pushed a commit to branch master.

http://git.enlightenment.org/apps/express.git/commit/?id=02e53a27e696f46040862b1fb5d7e5348ba5f5ec

commit 02e53a27e696f46040862b1fb5d7e5348ba5f5ec
Author: Christopher Michael <devilho...@comcast.net>
Date:   Wed Jan 27 12:14:48 2021 -0500

    express: Increase buffer size for formatted messages
---
 src/bin/callbacks.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/callbacks.c b/src/bin/callbacks.c
index f9cc79f..85aace4 100644
--- a/src/bin/callbacks.c
+++ b/src/bin/callbacks.c
@@ -296,7 +296,7 @@ void
 _callback_user_join(Express_Network *net, const char *event EINA_UNUSED, const 
char *source, const char **params, unsigned int count EINA_UNUSED, void *data 
EINA_UNUSED)
 {
    Channel *chl = NULL;
-   char buff[PATH_MAX], channel[PATH_MAX];
+   char buff[PATH_MAX + 100], channel[PATH_MAX];
    int crlf = 0, lf = 0;
 
    crlf = _find_crlf(params[0], strlen(params[0]), &lf);
@@ -371,7 +371,7 @@ _callback_user_nick(Express_Network *net EINA_UNUSED, const 
char *event EINA_UNU
 {
    Eina_List *channels, *l;
    Channel *chl;
-   char buff[PATH_MAX], user[PATH_MAX];
+   char buff[PATH_MAX + 100], user[PATH_MAX];
    int crlf = 0, lf = 0;
 
    crlf = _find_crlf(params[0], strlen(params[0]), &lf);

-- 


Reply via email to