diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-02-20 17:33:44 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-02-20 17:33:44 +0000 |
commit | b9567416b251f589ba5ac4ed1dadc644e79d6912 (patch) | |
tree | 4e1a9e2a3a926be13cc463a19a4a685c0bfdb24f /plugins/Dropbox/src/dropbox.h | |
parent | 4c6a62618e1e03f97d0f194a37316a97c6ea5062 (diff) |
Dropbox: download links will be created only for root files and folders
git-svn-id: http://svn.miranda-ng.org/main/trunk@8193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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);
|