diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2020-11-20 13:49:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2020-11-20 13:49:58 +0100 |
commit | 272231467a680d8f0a2e562f811c71fc9ea1ef1c (patch) | |
tree | 082bf5573250333d32c72ecfa0ba66ced0d58f56 /vdr.c | |
parent | 6cb818c7ad20c99054f0c2d292342de99d33c2ca (diff) | |
download | vdr-272231467a680d8f0a2e562f811c71fc9ea1ef1c.tar.gz vdr-272231467a680d8f0a2e562f811c71fc9ea1ef1c.tar.bz2 |
Fixed parsing the '-l' command line option
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |