~ubuntu-branches/ubuntu/hardy/nfs-utils/hardy-updates

« back to all changes in this revision

Viewing changes to support/export/rmtab.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2007-11-14 04:52:46 UTC
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20071114045246-37yxn6na36segpuh
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                        if (!exp2) {
44
44
                                struct exportent ee;
45
45
                                dupexportent(&ee, &exp->m_export);
46
 
                                strncpy (ee.e_hostname, rep->r_client,
47
 
                                         sizeof (ee.e_hostname) - 1);
48
 
                                ee.e_hostname[sizeof (ee.e_hostname) -1] = '\0';
 
46
                                ee.e_hostname = rep->r_client;
49
47
                                exp2 = export_create(&ee, 0);
50
48
                                exp2->m_changed = exp->m_changed;
51
49
                        }