[poppler] qt4/tests

Albert Astals Cid aacid at kemper.freedesktop.org
Mon Jun 3 11:08:58 PDT 2013


 qt4/tests/stress-threads-qt4.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 425d1b4835389e2031631ce54cee157af39f1cb6
Author: Adam Reichold <adamreichold at myopera.com>
Date:   Mon Jun 3 20:04:21 2013 +0200

    Check for the correct number of arguments

diff --git a/qt4/tests/stress-threads-qt4.cpp b/qt4/tests/stress-threads-qt4.cpp
index 7e72728..cc9448e 100644
--- a/qt4/tests/stress-threads-qt4.cpp
+++ b/qt4/tests/stress-threads-qt4.cpp
@@ -251,7 +251,7 @@ void CrazyThread::run()
 
 int main(int argc, char** argv)
 {
-    if(argc < 3)
+    if(argc < 5)
     {
         qDebug() << "usage: stress-threads-qt duration sillyCount crazyCount file(s)";
         


More information about the poppler mailing list