Changeset 13965


Ignore:
Timestamp:
02/04/12 21:49:14 (12 years ago)
Author:
nit
Message:

[titan] fix webif timer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/httpdfunc.h

    r13640 r13965  
    19801980                loctime = olocaltime(&node->begin);
    19811981                tmpstr = strptime(begin, "%H:%M+%d-%m-%Y", loctime);
    1982                 free(loctime); loctime = NULL;
    1983 
    19841982                if(tmpstr != NULL)
    19851983                        node->begin = mktime(loctime);
    19861984                node->begin -= (node->begin % 60);
    19871985                tmpstr = NULL;
     1986                free(loctime); loctime = NULL;
    19881987
    19891988                loctime = olocaltime(&node->end);
    19901989                tmpstr = strptime(end, "%H:%M+%d-%m-%Y", loctime);
    1991                 free(loctime); loctime = NULL;
    1992 
    19931990                if(tmpstr != NULL)
    19941991                        node->end = mktime(loctime);
    19951992                node->end -= (node->end % 60);
    19961993                tmpstr = NULL;
     1994                free(loctime); loctime = NULL;
    19971995
    19981996                if(newnode == 1)
Note: See TracChangeset for help on using the changeset viewer.