Avatar upload/download fixes. Verbose logging (temporary).

This commit is contained in:
lotodore
2009-03-21 21:14:09 +00:00
parent 60a9beb417
commit 43a13f5297
4 changed files with 6 additions and 5 deletions
+1 -2
View File
@@ -48,8 +48,7 @@ UploadHelper::~UploadHelper()
void
UploadHelper::InternalInit(const string &/*url*/, const string &targetFileName, const string &user, const string &password, int filesize)
{
// Open target file for writing.
// Open target file for writing.
// Open target file for reading.
GetData()->targetFile = fopen(targetFileName.c_str(), "rb");
if (!GetData()->targetFile)
throw NetException(__FILE__, __LINE__, ERR_SOCK_TRANSFER_OPEN_FAILED, 0);