summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/file_transfer.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-02-24 15:19:44 +0300
committeraunsane <aunsane@gmail.com>2018-02-24 15:19:44 +0300
commit1cd49f75aa0dd71a1df44a1740dd4c15fe5656cf (patch)
treed7e1520cb74d662afe839f54eb7b54d2c01c7d3e /plugins/CloudFile/src/file_transfer.h
parentb2eb0ef7a0f7f2b2bae0a48966038a673701df21 (diff)
SendSS: Reworking settings (#1144)
CloudFile: fix upload service Db_autobackups: fix build
Diffstat (limited to 'plugins/CloudFile/src/file_transfer.h')
-rw-r--r--plugins/CloudFile/src/file_transfer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/file_transfer.h b/plugins/CloudFile/src/file_transfer.h
index ab83d7db2e..ced06a2f04 100644
--- a/plugins/CloudFile/src/file_transfer.h
+++ b/plugins/CloudFile/src/file_transfer.h
@@ -91,10 +91,10 @@ public:
return m_description.GetString();
}
- const int GetSharedLinks(const char **result) const
+ const const char** GetSharedLinks(size_t &count) const
{
- result = (const char**)m_links.getArray();
- return m_links.getCount();
+ count = m_links.getCount();
+ return (const char**)m_links.getArray();
}
void Terminate()