diff options
author | Max Kellermann <max@duempel.org> | 2009-01-02 16:22:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-02 16:22:40 +0100 |
commit | e5b8a3b86d23fa4006a883c8123ba5fa07c4acee (patch) | |
tree | 61c2ffedfa09e4c52b035b98d8655ad0a7b60c6e /src/archive/zip_plugin.c | |
parent | cf9bd42416753de6b5f74f19d1869d3da1275b2b (diff) | |
download | mpd-e5b8a3b86d23fa4006a883c8123ba5fa07c4acee.tar.gz mpd-e5b8a3b86d23fa4006a883c8123ba5fa07c4acee.tar.xz mpd-e5b8a3b86d23fa4006a883c8123ba5fa07c4acee.zip |
archive: use GLib instead of utils.h
Diffstat (limited to 'src/archive/zip_plugin.c')
-rw-r--r-- | src/archive/zip_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/zip_plugin.c b/src/archive/zip_plugin.c index 76eec229d..1aa311065 100644 --- a/src/archive/zip_plugin.c +++ b/src/archive/zip_plugin.c @@ -23,7 +23,6 @@ #include "archive_api.h" #include "archive_api.h" #include "input_stream.h" -#include "utils.h" #include <zzip/zzip.h> #include <glib.h> @@ -58,7 +57,8 @@ zip_open(char * pathname) while (zzip_dir_read(context->dir, &dirent)) { //add only files if (dirent.st_size > 0) { - context->list = g_slist_prepend( context->list, xstrdup(dirent.d_name)); + context->list = g_slist_prepend(context->list, + g_strdup(dirent.d_name)); } } |