Ignore:
Timestamp:
Jun 25, 2011, 5:10:35 PM (9 years ago)
Author:
Bruno Cornec
Message:
  • Fix 485 by replacing a wrong call to mr_asprintf which was provoking core dumped.
File:
1 edited

Legend:

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

    r2774 r2836  
    20832083                    mr_strcat(bkpinfo->exclude_paths,"|%s",mounted_on_dsf);
    20842084                } else {
    2085                     mr_asprintf(bkpinfo->exclude_paths,"%s",mounted_on_dsf);
     2085                    mr_asprintf(&(bkpinfo->exclude_paths),"%s",mounted_on_dsf);
    20862086                }
    20872087                if (bkpinfo->exclude_devs) {
    20882088                    mr_strcat(bkpinfo->exclude_devs,"|%s",token);
    20892089                } else {
    2090                     mr_asprintf(bkpinfo->exclude_devs,"%s",token);
     2090                    mr_asprintf(&(bkpinfo->exclude_devs),"%s",token);
    20912091                }
    20922092            }
     
    21022102                    mr_strcat(bkpinfo->exclude_paths, "|%s",not_mounted_on_dsf);
    21032103                } else {
    2104                     mr_asprintf(bkpinfo->exclude_paths,"%s",not_mounted_on_dsf);
     2104                    mr_asprintf(&(bkpinfo->exclude_paths),"%s",not_mounted_on_dsf);
    21052105                }
    21062106            }
Note: See TracChangeset for help on using the changeset viewer.