summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorschmirl <schmirl>2007-04-23 12:01:33 +0000
committerschmirl <schmirl>2007-04-23 12:01:33 +0000
commit5f54824d3d0abb08ebd6f1ef7e9f1952a7498e46 (patch)
tree4e0e70996eff79ca00f0095c679efd9db64e5e09 /client
parent0a7608faba11e784f69f0539446e58b9f2a32f53 (diff)
downloadvdr-plugin-streamdev-5f54824d3d0abb08ebd6f1ef7e9f1952a7498e46.tar.gz
vdr-plugin-streamdev-5f54824d3d0abb08ebd6f1ef7e9f1952a7498e46.tar.bz2
Fixed whitespaces. No functional changes
Diffstat (limited to 'client')
-rw-r--r--client/filter.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/client/filter.c b/client/filter.c
index 5f03af6..ec5aa9a 100644
--- a/client/filter.c
+++ b/client/filter.c
@@ -1,5 +1,5 @@
/*
- * $Id: filter.c,v 1.8 2007/04/23 12:00:27 schmirl Exp $
+ * $Id: filter.c,v 1.9 2007/04/23 12:01:33 schmirl Exp $
*/
#include "client/filter.h"
@@ -52,16 +52,16 @@ cStreamdevFilter::cStreamdevFilter(u_short Pid, u_char Tid, u_char Mask) {
#ifdef SOCK_SEQPACKET
// SOCK_SEQPACKET (since kernel 2.6.4)
if (socketpair(AF_UNIX, SOCK_SEQPACKET, 0, m_Pipe) != 0) {
- esyslog("streamdev-client: socketpair(SOCK_SEQPACKET) failed: %m, trying SOCK_DGRAM");
+ esyslog("streamdev-client: socketpair(SOCK_SEQPACKET) failed: %m, trying SOCK_DGRAM");
}
#endif
if (m_Pipe[0] < 0 && socketpair(AF_UNIX, SOCK_DGRAM, 0, m_Pipe) != 0) {
- esyslog("streamdev-client: couldn't open section filter socket: %m");
+ esyslog("streamdev-client: couldn't open section filter socket: %m");
}
else if(fcntl(m_Pipe[0], F_SETFL, O_NONBLOCK) != 0 ||
fcntl(m_Pipe[1], F_SETFL, O_NONBLOCK) != 0) {
- esyslog("streamdev-client: couldn't set section filter socket to non-blocking mode: %m");
+ esyslog("streamdev-client: couldn't set section filter socket to non-blocking mode: %m");
}
}
@@ -123,12 +123,12 @@ bool cStreamdevFilter::IsClosed(void) {
// Test if pipe/socket has been closed by writing empty section
if (write(m_Pipe[1], m_Buffer, 3) < 0 &&
- errno != EAGAIN &&
- errno != EWOULDBLOCK) {
+ errno != EAGAIN &&
+ errno != EWOULDBLOCK) {
if (errno != ECONNREFUSED &&
- errno != ECONNRESET &&
- errno != EPIPE)
+ errno != ECONNRESET &&
+ errno != EPIPE)
esyslog("cStreamdevFilter::IsClosed failed: %m");
return true;