summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/file_transfer.h
diff options
context:
space:
mode:
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()