From b003633f3bc22bf99d9c1afcddb3b27ecffc9b30 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 6 Aug 2005 18:42:07 +0000 Subject: "read_filter_list()" and "save_filter_list()" mallocate the path string that they return through the "pref_path_return" argument; make it a "char **", as a pointer to a "char *" is passed to it, and the caller has to free that. svn path=/trunk/; revision=15249 --- filters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filters.h') diff --git a/filters.h b/filters.h index 239b775679..d059c8cc80 100644 --- a/filters.h +++ b/filters.h @@ -47,7 +47,7 @@ typedef struct { * the file we tried to read - it should be freed by our caller - * and "*errno_return" is set to the error. */ -void read_filter_list(filter_list_type_t list, const char **pref_path_return, +void read_filter_list(filter_list_type_t list, char **pref_path_return, int *errno_return); /* @@ -75,5 +75,5 @@ void remove_from_filter_list(filter_list_type_t list, GList *fl_entry); * the file we tried to read - it should be freed by our caller - * and "*errno_return" is set to the error. */ -void save_filter_list(filter_list_type_t list, const char **pref_path_return, +void save_filter_list(filter_list_type_t list, char **pref_path_return, int *errno_return); -- cgit v1.2.3