[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src game.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src game.cpp |
Date: |
Sun, 18 Sep 2005 12:52:48 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 05/09/18 16:52:47
Modified files:
src : game.cpp
Log message:
attempt to fix problems with timeouts when uploading campaigns
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.279&tr2=1.280&r1=text&r2=text
Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.279 wesnoth/src/game.cpp:1.280
--- wesnoth/src/game.cpp:1.279 Sat Sep 17 15:06:28 2005
+++ wesnoth/src/game.cpp Sun Sep 18 16:52:47 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.279 2005/09/17 15:06:28 ott Exp $ */
+/* $Id: game.cpp,v 1.280 2005/09/18 16:52:47 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -1074,8 +1074,8 @@
std::cerr << "uploading campaign...\n";
network::send_data(data,sock);
-
- sock = network::receive_data(data,sock,5000);
+
+ sock = gui::network_data_dialog(disp(),_("Awaiting response from
server"),data,sock);
if(!sock) {
gui::show_error_message(disp(), _("Connection timed out"));
} else if(data.child("error")) {