Ignore:
Timestamp:
Feb 2, 2011, 2:48:30 AM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix a but when no -E option is give on CLI (null) string generated
File:
1 edited

Legend:

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

    r2676 r2711  
    13391339    char *strtmp;
    13401340    char *token;
    1341     char *find_excludes;
     1341    char *find_excludes = NULL;
    13421342    static char *name_of_evalcall_form;
    13431343    int i;
     
    13611361        }
    13621362    }
     1363    mr_asprintf(&find_excludes, " ");
    13631364
    13641365    if (!depth) {
    13651366        malloc_string(name_of_evalcall_form);
    13661367        malloc_string(find_skeleton_marker);
    1367         mr_asprintf(&find_excludes, " ");
    13681368        while((token = mr_strtok (sth, delims, &lastpos))) {
    13691369          mr_asprintf(&strtmp,"%s", find_excludes);
Note: See TracChangeset for help on using the changeset viewer.