From d735918b9fa54861ef3fdcb62106c1939424ede4 Mon Sep 17 00:00:00 2001 From: cxl Date: Sun, 13 Apr 2014 05:52:14 +0000 Subject: [PATCH] uppbox: AutoTest git-svn-id: svn://ultimatepp.org/upp/trunk@7239 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppbox/AutoTest/AutoTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppbox/AutoTest/AutoTest.cpp b/uppbox/AutoTest/AutoTest.cpp index f9ce3a681..a15942db2 100644 --- a/uppbox/AutoTest/AutoTest.cpp +++ b/uppbox/AutoTest/AutoTest.cpp @@ -75,7 +75,7 @@ void Do(const char *nest, const char *bm, bool release, bool test) String h = LoadFile(upp); int q = h.FindAfter("#WAIT:"); if(q >= 0) { - timeout = max(60 * 1000 * atoi(~h + q + strlen("#WAIT:")), timeout); + timeout = max(60 * 1000 * atoi(~h + q), timeout); } int msecs0 = msecs(); for(;;) {