-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary for 0.3.2 podcastdl release ----------------------------------- Fix a bug caused by changes in the url control by curl
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,13 @@ get_podcast_list(char * url, podcast_head_t * podcast,int maxdays) | |
time_t now = time(NULL); | ||
mrss_category_t *tags; | ||
char taglist[MAX_FILENAME_LENGTH + 1]; | ||
char * p; | ||
|
||
p = strpbrk(url, "\r\n"); | ||
if (p != NULL) { | ||
*p = '\0'; | ||
} | ||
|
||
|
||
debug("Parse feed %s\n",url); | ||
ret = mrss_parse_url_with_options_and_error(url,&feed,NULL,&code); | ||
|
@@ -175,7 +182,7 @@ usage(void) | |
static void | ||
version(void) | ||
{ | ||
printf("podcastdl %s, Copyright (c) 2010 Rodrigo OSORIO <[email protected]>\n", | ||
printf("podcastdl %s, wrote by Rodrigo OSORIO <[email protected]>\n", | ||
PODCASTDL_VERSION_STRING); | ||
exit(0); | ||
} | ||
|