[svn r598] changed ScheduleInfo attribute from record_id to schedule_id trunk
authormelunko
Tue Apr 24 19:45:27 2007 +0100 (2007-04-24)
branchtrunk
changeset 5920f77fcb97269
parent 591 2a503bf691f5
child 593 95263ab433f1
[svn r598] changed ScheduleInfo attribute from record_id to schedule_id
gmyth/src/gmyth_scheduler.c
gmyth/src/gmyth_scheduler.h
     1.1 --- a/gmyth/src/gmyth_scheduler.c	Tue Apr 24 19:15:35 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_scheduler.c	Tue Apr 24 19:45:27 2007 +0100
     1.3 @@ -236,7 +236,7 @@
     1.4          while((row = mysql_fetch_row (msql_res)) != NULL) {
     1.5              schedule = g_new0(ScheduleInfo, 1);
     1.6          	
     1.7 -            schedule->record_id  = (guint) g_ascii_strtoull (row[0], NULL, 10);
     1.8 +            schedule->schedule_id  = (guint) g_ascii_strtoull (row[0], NULL, 10);
     1.9              schedule->program_id = (guint) g_ascii_strtoull (row[1], NULL, 10);
    1.10              schedule->channel_id = (guint) g_ascii_strtoull (row[2], NULL, 10);
    1.11              
    1.12 @@ -425,7 +425,7 @@
    1.13      _set_value (scheduler->msqlquery, "autouserjob3", "0", rec_id);
    1.14      _set_value (scheduler->msqlquery, "autouserjob4", "0", rec_id);
    1.15  
    1.16 -    schedule_info->record_id = rec_id;
    1.17 +    schedule_info->schedule_id = rec_id;
    1.18  
    1.19      /* Notify the backend of changes */
    1.20      return update_backend(scheduler, rec_id);
     2.1 --- a/gmyth/src/gmyth_scheduler.h	Tue Apr 24 19:15:35 2007 +0100
     2.2 +++ b/gmyth/src/gmyth_scheduler.h	Tue Apr 24 19:45:27 2007 +0100
     2.3 @@ -98,7 +98,7 @@
     2.4  };
     2.5  
     2.6  typedef struct {
     2.7 -    guint    record_id;
     2.8 +    guint    schedule_id;
     2.9      guint    program_id;
    2.10      guint    channel_id;
    2.11