X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FDVB%2FDVBDemuxProtocol.cc;h=21745b876b9732ec47d8e9cb3426e9e20f17fef9;hb=1ad3873b372da6187b1fbc645bf276287d2efb54;hp=0e9847f50a8349e0fb20888ba60141a79b19eaa0;hpb=ceba483d966a9fd884b30fb9dac07156b29a4b31;p=senf.git diff --git a/Socket/Protocols/DVB/DVBDemuxProtocol.cc b/Socket/Protocols/DVB/DVBDemuxProtocol.cc index 0e9847f..21745b8 100644 --- a/Socket/Protocols/DVB/DVBDemuxProtocol.cc +++ b/Socket/Protocols/DVB/DVBDemuxProtocol.cc @@ -32,7 +32,7 @@ #include #include #include -#include "Socket/SocketHandle.hh" +#include "../../../Socket/SocketHandle.hh" //#include "DVBDemuxProtocol.mpp" #define prefix_ @@ -41,22 +41,22 @@ prefix_ void senf::DVBDemuxProtocol::setBufferSize(unsigned long size) const { - if (::ioctl(body().fd(), DMX_SET_BUFFER_SIZE, size) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_SET_BUFFER_SIZE, size) < 0) + throwErrno(); } prefix_ void senf::DVBDemuxProtocol::startFiltering() const { - if (::ioctl(body().fd(), DMX_START) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_START) < 0) + throwErrno(); } prefix_ void senf::DVBDemuxProtocol::stopFiltering() const { - if (::ioctl(body().fd(), DMX_STOP) < 0) - throw SystemException(errno); + if (::ioctl(fd(), DMX_STOP) < 0) + throwErrno(); } prefix_ bool senf::DVBDemuxProtocol::eof()