[winetest] Make sure we can send larger files

Paul Vriens paul.vriens.wine at gmail.com
Thu Nov 30 12:01:02 CST 2006


Hi,

I'm hitting the 1MB limit already with my win98 tests. Most other tests are
about to reach that threshold as well.

Changelog
  Make sure we can send larger files

Cheers,

Paul.
---
 programs/winetest/send.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/winetest/send.c b/programs/winetest/send.c
index ec54e15..4707d45 100644
--- a/programs/winetest/send.c
+++ b/programs/winetest/send.c
@@ -137,11 +137,11 @@ send_file (const char *name)
     }
     fseek (f, 0, SEEK_END);
     filesize = ftell (f);
-    if (filesize > 1024*1024) {
+    if (filesize > 1.5*1024*1024) {
         report (R_WARNING,
-                "File too big (%.1f MB > 1 MB); submitting partial report.",
+                "File too big (%.1f MB > 1.5 MB); submitting partial report.",
                 filesize/1024.0/1024);
-        filesize = 1024*1024;
+        filesize = 1.5*1024*1024;
     }
     fseek (f, 0, SEEK_SET);
 
-- 
1.4.4.1




More information about the wine-patches mailing list