From: <mg...@us...> - 2008-06-14 15:53:57
|
Revision: 1764 http://planeshift.svn.sourceforge.net/planeshift/?rev=1764&view=rev Author: mgist Date: 2008-06-14 08:54:02 -0700 (Sat, 14 Jun 2008) Log Message: ----------- Modified Paths: -------------- trunk/src/pslaunch/download.cpp Modified: trunk/src/pslaunch/download.cpp =================================================================== --- trunk/src/pslaunch/download.cpp 2008-06-14 15:53:11 UTC (rev 1763) +++ trunk/src/pslaunch/download.cpp 2008-06-14 15:54:02 UTC (rev 1764) @@ -141,12 +141,15 @@ delete conn; conn = NULL; - if (result != nsSocket::OK && !silent) + if (result != nsSocket::OK) { - if (result == nsSocket::E_INVALID_HOST) - error.Format("Couldn't connect to mirror %s\n", url.GetData()); - else - error.Format("Error while downloading file: %s\n", url.GetData()); + if(!silent) + { + if (result == nsSocket::E_INVALID_HOST) + error.Format("Couldn't connect to mirror %s\n", url.GetData()); + else + error.Format("Error while downloading file: %s\n", url.GetData()); + } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |