diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 08:50:12 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-02-07 08:50:12 +0100 |
commit | 2356d1f77f4a2a3dd75638621d687dc9d3771d6c (patch) | |
tree | baf58df5181f4a9402590005747bc5d818ade9d9 /src/DabMux.cpp | |
parent | 400df39cb1c7565b5fc8f3dbfef0c054b4bb65f4 (diff) | |
download | dabmux-2356d1f77f4a2a3dd75638621d687dc9d3771d6c.tar.gz dabmux-2356d1f77f4a2a3dd75638621d687dc9d3771d6c.tar.bz2 dabmux-2356d1f77f4a2a3dd75638621d687dc9d3771d6c.zip |
fix minor mistakes
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r-- | src/DabMux.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp index 2ef28c9..5fb9c17 100644 --- a/src/DabMux.cpp +++ b/src/DabMux.cpp @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) bool MNSC_increment_time = false; - if (strncmp(argv[1], "-e", 2) == 0) { // use external config file + if (argc > 1 && strncmp(argv[1], "-e", 2) == 0) { // use external config file try { if (argc != 3) { |