diff options
Diffstat (limited to 'src/string_list.c')
-rw-r--r-- | src/string_list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/string_list.c b/src/string_list.c index ff30b2c..c1beed2 100644 --- a/src/string_list.c +++ b/src/string_list.c @@ -5,8 +5,8 @@ * channels from one dvb device and provides the streams via minimal http. * * - * Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org> - * + * Copyright (C) 2011-2016 Christian Pointner <equinox@spreadspace.org> + * * This file is part of gstdvbbackend. * * gstdvbbackend is free software: you can redistribute it and/or modify @@ -44,7 +44,7 @@ int string_list_add(string_list_t* list, const char* string) { if(!list) return -1; - + char* tmp = strdup(string); if(slist_add(list, tmp) == NULL) { free(tmp); @@ -58,7 +58,7 @@ void string_list_print(string_list_t* list, const char* head, const char* tail) { if(!list) return; - + slist_element_t* tmp = list->first_; while(tmp) { printf("%s%s%s", head, (char*)(tmp->data_), tail); |