]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix a crash caused by pull req #39
authorAndreas Öman <andreas@lonelycoder.com>
Tue, 20 Sep 2011 07:03:04 +0000 (09:03 +0200)
committerAndreas Öman <andreas@lonelycoder.com>
Tue, 20 Sep 2011 07:03:04 +0000 (09:03 +0200)
src/dvr/dvr_db.c

index 5e5f4373403c4df0daa67e1fea7774a3ad0b1583..2480517057a2d127075b44e097293032d3cb9f20 100644 (file)
@@ -643,7 +643,7 @@ dvr_event_replaced(event_t *e, event_t *new_e)
     ude = dvr_entry_find_by_event_fuzzy(new_e);
     if (ude == NULL && de->de_sched_state == DVR_SCHEDULED)
       dvr_entry_cancel(de);
-    else
+    else if(new_e->e_title != NULL)
       dvr_entry_update(de, new_e->e_title, new_e->e_start, new_e->e_stop);
   }