]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
bugfix: handle arguments having only whitespaces
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 23:40:02 +0000 (23:40 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2010 23:40:02 +0000 (23:40 +0000)
HLT/BASE/AliHLTComponent.cxx

index c99d535ed54610cf4cf70c3e9cc962b5731d5d31..24deb2848d3e7fc7a37b0c4041b753397fc709fc 100644 (file)
@@ -433,6 +433,8 @@ int AliHLTComponent::ConfigureFromArgumentString(int argc, const char** argv)
   TString argument="";
   int i=0;
   for (i=0; i<argc && iResult>=0; i++) {
+    if (argument.IsWhitespace()) continue;
+
     // special handling for single component arguments ending with
     // a sequence of blanks
     argument=argv[i];