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 /tools.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 'tools.c')
-rw-r--r-- | tools.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.c 1.53 2002/01/27 12:36:23 kls Exp $ + * $Id: tools.c 1.54 2002/02/02 13:03:40 kls Exp $ */ #include "tools.h" @@ -404,9 +404,8 @@ char *ReadLink(const char *FileName) if (n < 0) { if (errno == ENOENT || errno == EINVAL) // file doesn't exist or is not a symlink TargetName = FileName; - else { // some other error occurred + else // some other error occurred LOG_ERROR_STR(FileName); - } } else if (n < int(sizeof(RealName))) { // got it! RealName[n] = 0; |