Fixed windows bug and changed file names to avoid compile error on UNIX.

svn path=/trunk/boinc/; revision=125
This commit is contained in:
Eric Heien 2002-06-21 00:29:08 +00:00
parent f35ab732d7
commit ed1e36049b
3 changed files with 4 additions and 1 deletions

View File

@ -221,7 +221,7 @@ int CLIENT_STATE::make_slot_dirs() {
int CLIENT_STATE::write_state_file() {
unsigned int i, j;
FILE* f = fopen(STATE_FILE_TEMP, "w");
FILE* f = fopen(STATE_FILE_TEMP, "wb");
int retval;
if (log_flags.state_debug) {

View File

@ -136,6 +136,9 @@ void NetSetState( ENetState state )
/*
* $Log$
* Revision 1.1 2002/06/21 00:29:08 eheien
* Fixed windows bug and changed file names to avoid compile error on UNIX.
*
* Revision 1.1 2002/06/21 00:13:48 eheien
* Windows networking support.
*