Francois Gouget : winetest: Fix write_file() in service.cgi to close the right file handle.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jul 23 13:49:23 CDT 2014
Module: tools
Branch: master
Commit: bb1a1abb352aa65ee54637e4581437a9faa73b67
URL: http://source.winehq.org/git/tools.git/?a=commit;h=bb1a1abb352aa65ee54637e4581437a9faa73b67
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Tue Jul 22 16:09:26 2014 +0200
winetest: Fix write_file() in service.cgi to close the right file handle.
---
winetest/service.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winetest/service.cgi b/winetest/service.cgi
index de0b8e8..1ec83b6 100755
--- a/winetest/service.cgi
+++ b/winetest/service.cgi
@@ -290,7 +290,7 @@ sub write_file {
open(GENERIC_FH, $filename)
or ( &debug("Can't open $filename for writing.") && die );
print GENERIC_FH $content;
- close(URL_FH);
+ close(GENERIC_FH);
}
# read the content of a file
More information about the wine-cvs
mailing list