Ignore:
Timestamp:
Jul 22, 2009, 2:03:44 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Fix a printing error in mindi for the tar command
  • Fix all mr_asprintf which had no second param as a string
File:
1 edited

Legend:

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

    r2241 r2290  
    684684                retval++;
    685685            } else {
    686                 mr_asprintf(&ip_address, inet_ntoa
    687                        ((struct in_addr)
    688                         *((struct in_addr *) hent->h_addr)));
     686                mr_asprintf(&ip_address, "%s", inet_ntoa((struct in_addr) *((struct in_addr *) hent->h_addr)));
    689687                mr_strcat(ip_address, strchr(bkpinfo->nfs_mount, ':'));
    690688                strcpy(bkpinfo->nfs_mount, ip_address);
Note: See TracChangeset for help on using the changeset viewer.