diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-09 14:21:30 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-04-09 14:21:30 +0200 |
commit | ceafe626717fabaa8463586bf17458054a4be41d (patch) | |
tree | 45aa556bee6e0fb723db7fdbe2109906e31892d9 /plugin.c | |
parent | a4520107608cdd4abf38153fd169a78408b18ca0 (diff) | |
download | vdr-ceafe626717fabaa8463586bf17458054a4be41d.tar.gz vdr-ceafe626717fabaa8463586bf17458054a4be41d.tar.bz2 |
No longer calling cPlugin::ProcessArgs() if VDR is run with the --help or --version option
Diffstat (limited to 'plugin.c')
-rw-r--r-- | plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: plugin.c 1.17 2006/02/28 14:16:54 kls Exp $ + * $Id: plugin.c 1.18 2006/04/09 14:16:17 kls Exp $ */ #include "plugin.h" @@ -232,7 +232,7 @@ bool cDll::Load(bool Log) if (argc) plugin->SetName(argv[0]); optind = 0; // to reset the getopt() data - return !argc || plugin->ProcessArgs(argc, argv); + return !Log || !argc || plugin->ProcessArgs(argc, argv); } } else { |