You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by le...@apache.org on 2001/05/11 19:26:54 UTC
cvs commit: xml-xerces/c/tests/ThreadTest ThreadTest.cpp
lehors 01/05/11 10:26:54
Modified: c/tests/ThreadTest ThreadTest.cpp
Log:
fixed tiny bug I found while porting to Java
Revision Changes Path
1.11 +5 -3 xml-xerces/c/tests/ThreadTest/ThreadTest.cpp
Index: ThreadTest.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/ThreadTest/ThreadTest.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ThreadTest.cpp 2000/09/11 18:44:30 1.10
+++ ThreadTest.cpp 2001/05/11 17:26:43 1.11
@@ -55,8 +55,10 @@
*/
/*
-* $Id: ThreadTest.cpp,v 1.10 2000/09/11 18:44:30 aruna1 Exp $
-*/
+ * $Id: ThreadTest.cpp,v 1.11 2001/05/11 17:26:43 lehors Exp $
+ *
+ * @author Andy Heninger, IBM
+ */
#include <stdlib.h>
#include <stdio.h>
@@ -668,7 +670,7 @@
if (argnum >= argc)
throw 1;
gRunInfo.totalTime = atoi(argv[argnum]);
- if (gRunInfo.numThreads < 1)
+ if (gRunInfo.totalTime < 1)
throw 1;
}
else if (argv[argnum][0] == '-')
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org