diff options
author | Christian Pointner <equinox@helsinki.at> | 2013-12-27 10:44:17 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2013-12-27 10:44:17 (GMT) |
commit | b46d601c70c6a2f39ca1cd1de83b0aa561ce5204 (patch) | |
tree | a7e9703c0463b1ad7e5837e81fbc0d84dd751395 /src/string_list.c | |
parent | a505cffcdd9645e1a4c3be302941e8a4a7d16037 (diff) |
whitespace cleanups
header update (copyright notice)
Diffstat (limited to 'src/string_list.c')
-rw-r--r-- | src/string_list.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/string_list.c b/src/string_list.c index ffea526..f5de488 100644 --- a/src/string_list.c +++ b/src/string_list.c @@ -2,10 +2,10 @@ * rharchive * * The Radio Helsinki Archive Daemon - * * - * Copyright (C) 2010-2011 Christian Pointner <equinox@helsinki.at> - * + * + * Copyright (C) 2010-2014 Christian Pointner <equinox@helsinki.at> + * * This file is part of rharchive. * * rharchive is free software: you can redistribute it and/or modify @@ -43,7 +43,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); @@ -57,7 +57,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); |