summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/rpc_generic.c
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-02-05 23:43:43 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-02-05 23:43:43 +0000
commit8d6301358e34f15e019022cc5321bbd950a1fa01 (patch)
treeca23ccb17e63c2c0a7eeb6827d3211f8f37a1089 /lib/libc/rpc/rpc_generic.c
parent64eecf3a43ff4eace513b9aa6667dc9abec56050 (diff)
Notes
Diffstat (limited to 'lib/libc/rpc/rpc_generic.c')
-rw-r--r--lib/libc/rpc/rpc_generic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/rpc/rpc_generic.c b/lib/libc/rpc/rpc_generic.c
index ad581a5a00a6..ee233bba3d24 100644
--- a/lib/libc/rpc/rpc_generic.c
+++ b/lib/libc/rpc/rpc_generic.c
@@ -646,6 +646,8 @@ __rpc_uaddr2taddr_af(int af, const char *uaddr)
#endif
struct sockaddr_un *sun;
+ port = 0;
+ sin = NULL;
addrstr = strdup(uaddr);
if (addrstr == NULL)
return NULL;