mirror of
https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
synced 2023-10-10 19:16:51 +02:00
Indenting - no code changes
This commit is contained in:
parent
56571d5879
commit
970bf59cc2
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: socket.c,v 1.6 2007/01/15 11:41:46 schmirl Exp $
|
||||
* $Id: socket.c,v 1.7 2007/01/15 11:45:48 schmirl Exp $
|
||||
*/
|
||||
|
||||
#include <tools/select.h>
|
||||
@ -114,12 +114,12 @@ bool cClientSocket::CheckConnection(void) {
|
||||
}
|
||||
|
||||
if (!Connect(StreamdevClientSetup.RemoteIp, StreamdevClientSetup.RemotePort)){
|
||||
static time_t lastTime = 0;
|
||||
static time_t lastTime = 0;
|
||||
if (time(NULL) - lastTime > MINLOGREPEAT) {
|
||||
esyslog("ERROR: Streamdev: Couldn't connect to %s:%d: %s",
|
||||
esyslog("ERROR: Streamdev: Couldn't connect to %s:%d: %s",
|
||||
(const char*)StreamdevClientSetup.RemoteIp,
|
||||
StreamdevClientSetup.RemotePort, strerror(errno));
|
||||
lastTime = time(NULL);
|
||||
lastTime = time(NULL);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user