mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Indenting - no code changes
This commit is contained in:
		| @@ -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; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user