Merged revisions 570-575,577-578 via svnmerge from
[senf.git] / Socket / Protocols / DVB / DVBDemuxProtocol.cc
index 1a2c70e..21745b8 100644 (file)
 prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size)
     const
 {
-    if (::ioctl(body().fd(), DMX_SET_BUFFER_SIZE, size) < 0)
+    if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0)
         throwErrno();
 }
 
 prefix_ void senf::DVBDemuxProtocol::startFiltering()
     const
 {
-    if (::ioctl(body().fd(), DMX_START) < 0)
+    if (::ioctl(fd(), DMX_START) < 0)
         throwErrno();
 }
 
 prefix_ void senf::DVBDemuxProtocol::stopFiltering()
     const
 {
-    if (::ioctl(body().fd(), DMX_STOP) < 0)
+    if (::ioctl(fd(), DMX_STOP) < 0)
         throwErrno();
 }