(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones

This commit is contained in:
rubidium
2010-11-26 22:25:02 +00:00
parent 565259647a
commit 2a465f152b
3 changed files with 20 additions and 8 deletions

View File

@@ -19,7 +19,8 @@
/** Class for handling the client side of the game connection. */
class ClientNetworkGameSocketHandler : public ZeroedMemoryAllocator, public NetworkGameSocketHandler {
private:
FILE *download_file; ///< Handle used for downloading the savegame.
FILE *download_file; ///< Handle used for downloading the savegame.
char *download_filename; ///< File name of the downloading savegame, so we open the right one.
/** Status of the connection with the server. */
enum ServerStatus {