diff options
author | Berke Viktor <berkeviktor@aol.com> | 2012-03-16 00:08:01 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2012-03-16 00:08:01 +0100 |
commit | 0452f9582eb1221bb44f9a078452a6b86c662c00 (patch) | |
tree | e60c602c36d32fc25b9f266cebc06f967064bad3 /src/common/proto-irc.c | |
parent | 3672db76c506f77e85e4cafdb031c37596599e31 (diff) | |
parent | 1012be5efbf01597d4edfd8071068286a77ff2dd (diff) |
Merge branch 'master' into wdk
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 91a57abe..a5ebc366 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -1159,6 +1159,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); |