summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-11-20 13:49:58 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2020-11-20 13:49:58 +0100
commit272231467a680d8f0a2e562f811c71fc9ea1ef1c (patch)
tree082bf5573250333d32c72ecfa0ba66ced0d58f56 /vdr.c
parent6cb818c7ad20c99054f0c2d292342de99d33c2ca (diff)
downloadvdr-272231467a680d8f0a2e562f811c71fc9ea1ef1c.tar.gz
vdr-272231467a680d8f0a2e562f811c71fc9ea1ef1c.tar.bz2
Fixed parsing the '-l' command line option
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vdr.c b/vdr.c
index 2ff5cfb4..709e2f85 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.tvdr.de
*
- * $Id: vdr.c 4.33 2020/05/18 16:47:29 kls Exp $
+ * $Id: vdr.c 4.34 2020/11/20 13:49:58 kls Exp $
*/
#include <getopt.h>
@@ -422,6 +422,7 @@ int main(int argc, char *argv[])
SysLogLevel = l;
if (!p)
break;
+ *p = '.';
if (isnumber(p + 1)) {
int l = atoi(p + 1);
if (0 <= l && l <= 7) {