diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-15 14:54:26 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-11-15 14:54:26 +0000 |
commit | cad95b8f32a75080e60a50af3503d46e7feac12b (patch) | |
tree | 26ec04bf3e215d1d9d970dcbde54662807049ce4 /src/plugins/charset | |
parent | 71ac31fcdd497b956959e8f6900382d110f10ddb (diff) | |
download | weechat-cad95b8f32a75080e60a50af3503d46e7feac12b.zip |
Replaced call to strndup() by weechat_charset_strndup()
Diffstat (limited to 'src/plugins/charset')
-rw-r--r-- | src/plugins/charset/weechat-charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/charset/weechat-charset.c b/src/plugins/charset/weechat-charset.c index 1fd8d4e62..b8c142b3b 100644 --- a/src/plugins/charset/weechat-charset.c +++ b/src/plugins/charset/weechat-charset.c @@ -248,7 +248,7 @@ weechat_charset_parse_irc_msg (char *message, char **nick, char **command, pos2 = strchr (pos, ' '); if (pos2) { - *command = strndup (pos, pos2 - pos); + *command = weechat_charset_strndup (pos, pos2 - pos); pos2++; while (pos2[0] == ' ') pos2++; |