~ubuntu-branches/ubuntu/lucid/9base/lucid

« back to all changes in this revision

Viewing changes to lib9/getnetconn.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-08-20 17:34:06 UTC
  • mfrom: (6.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090820173406-xpwqa9ruyevvc0ut
Tags: 1:3-3
* Updating maintainer field.
* Updating vcs fields.
* Updating package to standards version 3.8.3.
* Updatin variables writing in rules to consistent style.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
        nci->spec = unknown;
92
92
        if(nci->dir == nil || nci->root == nil)
93
93
                goto err;
94
 
        sn = sizeof sn;
 
94
        sn = sizeof u;
95
95
        if(getsockname(fd, &u.sa, &sn) < 0)
96
96
                goto err;
97
97
        if(convert(fd, &u.sa, &nci->lsys, &nci->lserv, &nci->laddr) < 0)
98
98
                goto err;
99
 
        sn = sizeof sn;
 
99
        sn = sizeof u;
100
100
        if(getpeername(fd, &u.sa, &sn) < 0)
101
101
                goto err;
102
102
        if(convert(fd, &u.sa, &nci->rsys, &nci->rserv, &nci->raddr) < 0)