1.1 --- a/gmyth/src/gmyth_epg.c Thu Oct 25 15:26:21 2007 +0100
1.2 +++ b/gmyth/src/gmyth_epg.c Thu Oct 25 15:28:35 2007 +0100
1.3 @@ -299,7 +299,7 @@
1.4 return -1;
1.5 }
1.6
1.7 - (*proglist) = NULL;
1.8 + *proglist = NULL;
1.9 while ((row = mysql_fetch_row(res_set)) != NULL) {
1.10
1.11 GMythProgramInfo *p = gmyth_program_info_new();
1.12 @@ -346,7 +346,7 @@
1.13
1.14 p->catType = g_string_new(row[18]);
1.15
1.16 - *proglist = g_list_append((*proglist), p);
1.17 + *proglist = g_list_append(*proglist, p);
1.18
1.19 #ifdef GMYTH_USE_DEBUG
1.20 gmyth_program_info_print(p);
1.21 @@ -359,7 +359,7 @@
1.22 mysql_free_result(res_set);
1.23 g_string_free(querystr, TRUE);
1.24
1.25 - return TRUE;
1.26 + return g_list_length (*proglist);
1.27 }
1.28
1.29 gboolean