diff options
Diffstat (limited to 'plugins/Dropbox/src/dropbox.h')
-rw-r--r-- | plugins/Dropbox/src/dropbox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Dropbox/src/dropbox.h b/plugins/Dropbox/src/dropbox.h index 0789f508c7..c2aed06ec8 100644 --- a/plugins/Dropbox/src/dropbox.h +++ b/plugins/Dropbox/src/dropbox.h @@ -51,11 +51,11 @@ struct FileTransferParam ~FileTransferParam()
{
- /*if (pfts.pszFiles)
+ if (pfts.pszFiles)
{
for (int i = 0; pfts.pszFiles[i]; i++)
{
- if (pfts.pszFiles[i]) delete pfts.pszFiles[i];
+ if (pfts.pszFiles[i]) mir_free(pfts.pszFiles[i]);
}
delete pfts.pszFiles;
}
@@ -64,10 +64,10 @@ struct FileTransferParam {
for (int i = 0; pszFolders[i]; i++)
{
- if (pszFolders[i]) delete pszFolders[i];
+ if (pszFolders[i]) mir_free(pszFolders[i]);
}
delete pszFolders;
- }*/
+ }
}
};
@@ -108,7 +108,7 @@ private: void SendFileChunkedNext(const char *data, int length, const char *uploadId, int &offset);
void SendFileChunkedLast(const char *fileName, const char *uploadId, MCONTACT hContact);
- void CreateFolder(const char *folderName);
+ void CreateFolder(const char *folderName, MCONTACT hContact);
static void _cdecl SendFileAsync(void *arg);
|