Changeset 2100 in MondoRescue


Ignore:
Timestamp:
Dec 23, 2008, 12:13:58 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Remove another static usage just in case
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mondo/src/common/libmondo-filelist.c

    r2099 r2100  
    15501550char *next_entry(char *incoming)
    15511551{
    1552     static char sz_res[MAX_STR_LEN];
     1552    char *sz_res;
    15531553    char *p;
    15541554    bool in_quotes = FALSE;
    15551555
    1556     strcpy(sz_res, incoming);
     1556    asprintf(&sz_res, "%s", incoming);
    15571557    p = sz_res;
    15581558    while ((*p != ' ' || in_quotes) && *p != '\0') {
     
    16901690                                  time_of_last_full_backup);
    16911691                p += strlen(q);
     1692                paranoid_free(q);
    16921693                while (*p == ' ') {
    16931694                    p++;
Note: See TracChangeset for help on using the changeset viewer.