diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2001-04-26 17:24:05 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2001-04-26 17:24:05 +0000 |
| commit | f2b95b20dc3edfed587ca64b0a1592ee6c475809 (patch) | |
| tree | 7b53dd860b204ea9fa410689dbbe9e92e5d14772 /lib/libc/rpc/rpc_generic.c | |
| parent | 025f2858ddf7d7b01998f740994b7201beafdaee (diff) | |
Notes
Diffstat (limited to 'lib/libc/rpc/rpc_generic.c')
| -rw-r--r-- | lib/libc/rpc/rpc_generic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c index 7b00d2c6d3ee..81f0b6dbb14f 100644 --- a/lib/libc/rpc/rpc_generic.c +++ b/lib/libc/rpc/rpc_generic.c @@ -710,6 +710,8 @@ __rpc_uaddr2taddr_af(int af, const char *uaddr) memset(sun, 0, sizeof *sun); sun->sun_family = AF_LOCAL; strncpy(sun->sun_path, addrstr, sizeof(sun->sun_path) - 1); + ret->len = ret->maxlen = sun->sun_len = SUN_LEN(sun); + ret->buf = sun; break; default: break; |
