~ken-vandine/ubuntu/natty/nfs-utils/1.2.2-4ubuntu1

« back to all changes in this revision

Viewing changes to utils/statd/hostname.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings
  • Date: 2010-08-27 00:11:44 UTC
  • Revision ID: james.westby@ubuntu.com-20100827001144-ko428gbq8aa78tjn
Tags: 1:1.2.2-4
* mountd: fix path comparison for v4 crossmnt (Closes: #578317)
* nfs-common.init: Ignore empty and commented-out fstab lines, thanks
  to Cristian Ionescu-Idbohrn (Closes: #587329)

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
                                        buf, (socklen_t)sizeof(buf));
213
213
                freeaddrinfo(ai);
214
214
                if (!result)
 
215
                        /* OK to use presentation address,
 
216
                         * if no reverse map exists */
215
217
                        return strdup(hostname);
216
218
                return strdup(buf);
217
219
        }