Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40c21c4
)
Fixed a bug in lstgetremotename2.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 21 Mar 2008 13:13:00 +0000
(14:13 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 21 Mar 2008 13:13:00 +0000
(14:13 +0100)
daemon/net.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/net.c
b/daemon/net.c
index
a8059d8
..
751c493
100644
(file)
--- a/
daemon/net.c
+++ b/
daemon/net.c
@@
-1485,9
+1485,9
@@
int lstgetremotename2(struct lport *lp, struct socket *sk2, struct sockaddr **na
errno = EOPNOTSUPP;
return(-1);
}
- if(ufd1->d.
s
.family != ufd2->d.s.family)
+ if(ufd1->d.
l
.family != ufd2->d.s.family)
{
- flog(LOG_ERR, "using lstgetremotename2 with sockets of differing family: %i %i", ufd1->d.
s
.family, ufd2->d.s.family);
+ flog(LOG_ERR, "using lstgetremotename2 with sockets of differing family: %i %i", ufd1->d.
l
.family, ufd2->d.s.family);
return(-1);
}
if(getremotename(ufd1->fd, &name1, &len1))