From: Tupone A. <at...@us...> - 2005-04-25 17:53:05
|
Update of /cvsroot/bzflag/bzflag/src/bzflag In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5811/src/bzflag Modified Files: Downloads.cxx Log Message: need to request we want file time, before doing the transfer and obtain it Index: Downloads.cxx =================================================================== RCS file: /cvsroot/bzflag/bzflag/src/bzflag/Downloads.cxx,v retrieving revision 2.25 retrieving revision 2.26 diff -w -u -r2.25 -r2.26 --- Downloads.cxx 18 Apr 2005 20:20:53 -0000 2.25 +++ Downloads.cxx 25 Apr 2005 17:52:40 -0000 2.26 @@ -124,7 +124,8 @@ timeRequest = true; if (httpTimeout > 0.0) setTimeout(httpTimeout); - setNoBody(true); + setNoBody(); + setRequestFileTime(true); addHandle(); } @@ -136,7 +137,8 @@ msg += "downloading: " + url; addMessage(NULL, msg); - setNoBody(false); + setGetMode(); + setRequestFileTime(true); if (httpTimeout > 0.0) setTimeout(httpTimeout); addHandle(); |