Ignore:
Timestamp:
Jan 5, 2014, 1:35:22 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Add "%s" in 2 mr_asprintf usages toavoid any problem (quality report)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-files.c

    r3206 r3238  
    323323    assert_string_is_neither_NULL_nor_zerolength(fname);
    324324    mr_asprintf(command, "which %s 2> /dev/null", fname);
    325     mr_asprintf(incoming, call_program_and_get_last_line_of_output(command));
     325    mr_asprintf(incoming, "%s", call_program_and_get_last_line_of_output(command));
    326326    mr_free(command);
    327327
Note: See TracChangeset for help on using the changeset viewer.