summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-24 15:56:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-24 15:56:24 +0100
commitc24dfb7f437bf31d1c70458e9f7e361b8f8f682f (patch)
tree0d822463cb223e63384391631f269108a8b788ae /tools.c
parent9544973a10cb7d5c730d37ed70b4e92d20ad4c52 (diff)
downloadvdr-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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools.c b/tools.c
index 68bfb7e4..a6bc80b1 100644
--- a/tools.c
+++ b/tools.c
@@ -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;