summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/socket.c b/client/socket.c
index 40772d6..e59c705 100644
--- a/client/socket.c
+++ b/client/socket.c
@@ -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;
}