diff options
author | Iago Toral <itoral@igalia.com> | 2010-02-19 10:50:49 +0100 |
---|---|---|
committer | Iago Toral <itoral@igalia.com> | 2010-02-19 10:50:49 +0100 |
commit | 2e8dc5401bd562dc888fb34de6f47f3dbbac7877 (patch) | |
tree | 13e6215af0afccb6ae21f2dd62c6e282d058ed3e | |
parent | 6b46a81754c3e759e584e99f5db0c4a9f7ab155e (diff) | |
download | grilo-plugins-2e8dc5401bd562dc888fb34de6f47f3dbbac7877.tar.gz |
[podcasts] Fixed critical warning when parsing feeds for the first time.
-rw-r--r-- | src/podcasts/grl-podcasts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/podcasts/grl-podcasts.c b/src/podcasts/grl-podcasts.c index d5b2745..bfb8277 100644 --- a/src/podcasts/grl-podcasts.c +++ b/src/podcasts/grl-podcasts.c @@ -1082,7 +1082,7 @@ produce_podcast_contents (OperationSpec *os) /* Check if we have to refresh the podcast */ lr_str = (gchar *) sqlite3_column_text (sql_stmt, PODCAST_LAST_REFRESHED); g_debug ("Podcast last-refreshed: '%s'", lr_str); - g_time_val_from_iso8601 (lr_str, &lr); + g_time_val_from_iso8601 (lr_str ? lr_str : "", &lr); g_get_current_time (&now); now.tv_sec -= CACHE_DURATION; if (now.tv_sec >= lr.tv_sec) { |