diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 13:44:24 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-02 13:44:24 +0100 |
commit | ddec0a101bfb97caa23ca731b8041547717a5eb3 (patch) | |
tree | 10ae250d9740fae442ca54466ca69e175f223ee9 /svdrp.c | |
parent | 2a31a4eca81b75bfab9a9fbbe2aa8f9eeec38f9f (diff) | |
download | vdr-ddec0a101bfb97caa23ca731b8041547717a5eb3.tar.gz vdr-ddec0a101bfb97caa23ca731b8041547717a5eb3.tar.bz2 |
Changed the [dei]syslog macros to use var args; fixed error handling in establishing an SVDRP connection
Diffstat (limited to 'svdrp.c')
-rw-r--r-- | svdrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ * and interact with the Video Disk Recorder - or write a full featured * graphical interface that sits on top of an SVDRP connection. * - * $Id: svdrp.c 1.28 2002/01/13 16:07:42 kls Exp $ + * $Id: svdrp.c 1.29 2002/02/02 13:33:57 kls Exp $ */ #include "svdrp.h" @@ -103,7 +103,7 @@ int cSocket::Accept(void) int newsock = accept(sock, (struct sockaddr *)&clientname, &size); if (newsock > 0) isyslog(LOG_INFO, "connect from %s, port %hd", inet_ntoa(clientname.sin_addr), ntohs(clientname.sin_port)); - else if (errno != EINTR) + else if (errno != EINTR && errno != EAGAIN) LOG_ERROR; return newsock; } |