diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-24 15:56:24 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-24 15:56:24 +0100 |
commit | c24dfb7f437bf31d1c70458e9f7e361b8f8f682f (patch) | |
tree | 0d822463cb223e63384391631f269108a8b788ae /tools.c | |
parent | 9544973a10cb7d5c730d37ed70b4e92d20ad4c52 (diff) | |
download | vdr-c24dfb7f437bf31d1c70458e9f7e361b8f8f682f.tar.gz vdr-c24dfb7f437bf31d1c70458e9f7e361b8f8f682f.tar.bz2 |
Extended the '-l' option to allow logging to LOG_LOCALn
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 4 |
1 files changed, 3 insertions, 1 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.73 2002/11/09 15:33:47 kls Exp $ + * $Id: tools.c 1.74 2002/11/24 15:47:02 kls Exp $ */ #include "tools.h" @@ -235,6 +235,8 @@ void delay_ms(int ms) bool isnumber(const char *s) { + if (!*s) + return false; while (*s) { if (!isdigit(*s)) return false; |