diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-03-15 23:58:52 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-03-15 23:58:52 +0100 |
commit | 1012be5efbf01597d4edfd8071068286a77ff2dd (patch) | |
tree | 214832df97982d504d81c822650d93c1e095b5a0 /src/common/proto-irc.c | |
parent | 605c3dea36918a631d917269d78bf9557552608b (diff) |
update xchat to r1503
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r-- | src/common/proto-irc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index f1df6ccd..338a3b18 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1156,6 +1156,8 @@ irc_inline (server *serv, char *buf, int len) char pdibuf_static[522]; /* 1 line can potentially be 512*6 in utf8 */ char *pdibuf = pdibuf_static; + url_check_line (buf, len); + /* need more than 522? fall back to malloc */ if (len >= sizeof (pdibuf_static)) pdibuf = malloc (len + 1); |