Ignore:
Timestamp:
Jul 22, 2009, 2:11:26 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

(report bug fix done originaly in 2.2.9)

File:
1 edited

Legend:

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

    r2270 r2291  
    672672                retval++;
    673673            } else {
    674                 mr_asprintf(&ip_address, inet_ntoa
    675                        ((struct in_addr)
    676                         *((struct in_addr *) hent->h_addr)));
     674                mr_asprintf(&ip_address, "%s", inet_ntoa((struct in_addr) *((struct in_addr *) hent->h_addr)));
    677675                mr_strcat(ip_address, strchr(bkpinfo->nfs_mount, ':'));
    678676                strcpy(bkpinfo->nfs_mount, ip_address);
Note: See TracChangeset for help on using the changeset viewer.