Forgot some changes for avatar upload.
This commit is contained in:
1 parent
16decacb6b
commit
6948d86d9f
1 file changed
+1
-1
@@ -73,7 +73,7 @@ UploaderThread::Main()
|
|||||||
if (!data.filename.empty() && data.filesize > 0)
|
if (!data.filename.empty() && data.filesize > 0)
|
||||||
{
|
{
|
||||||
path filepath(data.filename);
|
path filepath(data.filename);
|
||||||
m_uploadHelper->Init("url" + filepath.leaf(), filepath.file_string().c_str(), "user", "pw");
|
m_uploadHelper->Init(data.address + filepath.leaf(), filepath.file_string().c_str(), data.user, data.pwd);
|
||||||
m_uploadInProgress = true;
|
m_uploadInProgress = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user