]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
ukernel-rx-knet-deref-20060126
authorTom Keiser <tkeiser@gmail.com>
Thu, 26 Jan 2006 15:52:37 +0000 (15:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 26 Jan 2006 15:52:37 +0000 (15:52 +0000)
FIXES 25927

pass correct parameter to avoid type mismatch

src/rx/UKERNEL/rx_knet.c

index de04ecbde62668e713e0b08558f7ab55ff49c0a2..959e9cf87c24148260190f75eafee6bf6586149c 100644 (file)
@@ -76,7 +76,7 @@ rxi_ListenerProc(osi_socket usockp, int *tnop, struct rx_call **newcallp)
     while (1) {
        tp = rxi_AllocPacket(RX_PACKET_CLASS_RECEIVE);
        usr_assert(tp != NULL);
-       rc = rxi_ReadPacket(usockp->sock, tp, &host, &port);
+       rc = rxi_ReadPacket(usockp, tp, &host, &port);
        if (rc != 0) {
            tp = rxi_ReceivePacket(tp, usockp, host, port, tnop, newcallp);
            if (newcallp && *newcallp) {
@@ -335,7 +335,7 @@ rxi_Recvmsg(osi_socket socket, struct msghdr *msg_p, int flags)
 {
     int ret;
     do {
-       ret = recvmsg(socket, msg_p, flags);
+       ret = recvmsg(socket->sock, msg_p, flags);
     } while (ret == -1 && errno == EAGAIN);
     return ret;
 }