Changeset 25741


Ignore:
Timestamp:
01/26/14 12:28:04 (8 years ago)
Author:
gost
Message:

[plugin] autotimer.. fix reboot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/autotimer/autotimer.c

    r24056 r25741  
    5959        if(getconfigint("at1_akt", NULL) == 1)
    6060        {
     61                addconfigint("at1_running", 1);
    6162                search1 = (struct searchoption*)calloc(1, sizeof(struct searchoption));
    6263                if(search1 == NULL)
     
    121122        if(getconfigint("at2_akt", NULL) == 1)
    122123        {
     124                addconfigint("at1_running", 1);
    123125                search2 = (struct searchoption*)calloc(1, sizeof(struct searchoption));
    124126                if(search2 == NULL)
     
    351353        free(search2); search2 = NULL;
    352354        autotimerthread = NULL;
     355        addconfigint("at1_running", 0);
    353356  return;
    354357}
Note: See TracChangeset for help on using the changeset viewer.