Ignore:
Timestamp:
Sep 9, 2009, 12:00:56 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bad strncpy call
  • Fix bas mr_asprintf call (quality)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-fork.c

    r2357 r2375  
    5252        for (mr_getline(tmp, fin); !feof(fin); mr_getline(tmp, fin)) {
    5353            if (strlen(tmp) > 1) {
    54                 strncpy(result, 511, tmp);
     54                strncpy(result, tmp, 511);
    5555            }
    5656            mr_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.