[PATCH] Fix crash on empty arguments

2015-10-12 Thread sergey . starosek
From: Sergey Starosek Signed-off-by: Sergey Starosek --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 71a998d..d6bbbf2 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,9 @@ int main(int argc,

Re: [PATCH] Fix crash on empty arguments

2015-10-12 Thread Lubomir I. Ivanov
On 12 October 2015 at 15:54, wrote: good catch! i''ve ever tried passing an empty argument e.g. "". > + if (a.isEmpty()) { > + continue; > + } could you please remove the extra "{" and "}" and resend the patch. we

Re: [PATCH] Fix crash on empty arguments

2015-10-12 Thread Lubomir I. Ivanov
On 12 October 2015 at 16:47, wrote: > From: Sergey Starosek > > Signed-off-by: Sergey Starosek > --- > main.cpp | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/main.cpp b/main.cpp > index

[PATCH] Fix crash on empty arguments

2015-10-12 Thread sergey . starosek
From: Sergey Starosek Signed-off-by: Sergey Starosek --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.cpp b/main.cpp index 71a998d..f27a174 100644 --- a/main.cpp +++ b/main.cpp @@ -39,6 +39,8 @@ int main(int argc,