Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    rd52111a r613cc55  
    9090        struct tm tm;
    9191
     92        memset(&tm, 0, sizeof(struct tm));
    9293        tm.tm_year = year - 1900;
    9394        tm.tm_mon = month - 1;
     
    9697        tm.tm_min = min;
    9798        tm.tm_sec = sec >= 0 ? sec : time(NULL) % 60;
     99       
    98100        return mktime(&tm);
    99101}
     
    245247}
    246248
    247 void info_string_append(GString *str, char *newline, char *name, char *value)
    248 {
    249         if( value && value[0] )
    250                 g_string_sprintfa( str, "%s%s: %s", newline, name, value );
    251 }
    252 
    253249/* Decode%20a%20file%20name                                             */
    254250void http_decode( char *s )
Note: See TracChangeset for help on using the changeset viewer.