Merged revisions 570-575,577-578 via svnmerge from
[senf.git] / Socket / Protocols / INet / RawInetProtocol.cc
index 1603bf4..80fe9f7 100644 (file)
@@ -37,7 +37,7 @@ prefix_ unsigned senf::RawInetProtocol::available()
     const
 {
     int n;
-    if (::ioctl(body().fd(),SIOCINQ,&n) < 0)
+    if (::ioctl(fd(),SIOCINQ,&n) < 0)
         throwErrno();
     return n;
 }
@@ -47,4 +47,18 @@ prefix_ bool senf::RawInetProtocol::eof()
 {
     return false;
 }
+
+///////////////////////////////cc.e////////////////////////////////////////
 #undef prefix_
+//#include "UDPProtocol.mpp"
+
+\f
+// Local Variables:
+// mode: c++
+// fill-column: 100
+// comment-column: 40
+// c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// End: