[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    [winetest] Make sure we can send larger files
From:       Paul Vriens <paul.vriens.wine () gmail ! com>
Date:       2006-11-30 18:01:02
Message-ID: 1164909663.3463.1.camel () penguin ! ca ! com
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic