]> git.saurik.com Git - apple/libinfo.git/blobdiff - lookup.subproj/lu_protocol.c
Libinfo-89.tar.gz
[apple/libinfo.git] / lookup.subproj / lu_protocol.c
index f3c0e4b0d73d4277977faf7b0b48c82958b538d0..f2c346fbc029a007a89c9902de2804f846a531c8 100644 (file)
@@ -235,7 +235,10 @@ lu_getprotoent()
                        return (NULL);
                }
 
+#ifdef NOTDEF 
+/* NOTDEF because OOL buffers are counted in bytes with untyped IPC */  
                p_datalen *= BYTES_PER_XDR_UNIT;
+#endif
                xdrmem_create(&p_xdr, p_data, p_datalen,
                        XDR_DECODE);
                if (!xdr_int(&p_xdr, &p_nentries))