cvs commit: src/lib/libc/rpc svc_vc.c
Martin Blapp
mb at imp.ch
Thu May 29 11:18:03 PDT 2003
Hi,
I already sent a patch to re@ to fix the problem ...
--- src/lib/libc/rpc/svc_vc.c.orig Thu May 29 20:12:57 2003
+++ src/lib/libc/rpc/svc_vc.c Thu May 29 20:13:25 2003
@@ -487,6 +487,8 @@
cfp = (struct cf_conn *)xprt->xp_p1;
+ cm = NULL;
+ sa = (struct sockaddr *)xprt->xp_rtaddr.buf;
if (cfp->nonblock) {
if (sa->sa_family == AF_LOCAL) {
cm = (struct cmessage *)xprt->xp_verf.oa_base;
@@ -522,8 +524,6 @@
}
} while ((pollfd.revents & POLLIN) == 0);
- cm = NULL;
- sa = (struct sockaddr *)xprt->xp_rtaddr.buf;
if (sa->sa_family == AF_LOCAL) {
cm = (struct cmessage *)xprt->xp_verf.oa_base;
if ((len = __msgread_withcred(sock, buf, len, cm)) > 0) {
Martin
More information about the cvs-all
mailing list