summaryrefslogtreecommitdiff
path: root/src/plugins/demo
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-28 19:49:32 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-28 19:49:32 +0200
commit2f7a5a4147d546753bef505cee4cd29aa3dcaf07 (patch)
treefff8de5328e269776da426566c5e4065efdaa18b /src/plugins/demo
parent4a89b4ae5900d02985e1d8641bc27f1690b9e94b (diff)
downloadweechat-2f7a5a4147d546753bef505cee4cd29aa3dcaf07.zip
Rename function string_explode to string_split
Diffstat (limited to 'src/plugins/demo')
-rw-r--r--src/plugins/demo/demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c
index 7bd1061dc..fe7abac61 100644
--- a/src/plugins/demo/demo.c
+++ b/src/plugins/demo/demo.c
@@ -193,7 +193,7 @@ demo_infolist_print (struct t_infolist *infolist, const char *item_name)
fields = weechat_infolist_fields (infolist);
if (fields)
{
- argv = weechat_string_explode (fields, ",", 0, 0, &argc);
+ argv = weechat_string_split (fields, ",", 0, 0, &argc);
if (argv && (argc > 0))
{
for (j = 0; j < argc; j++)
@@ -237,7 +237,7 @@ demo_infolist_print (struct t_infolist *infolist, const char *item_name)
}
}
if (argv)
- weechat_string_free_exploded (argv);
+ weechat_string_free_split (argv);
}
i++;
}