mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Extended the '-l' option to allow logging to LOG_LOCALn
This commit is contained in:
4
tools.c
4
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;
|
||||
|
||||
Reference in New Issue
Block a user