diff options
Diffstat (limited to 'plugins/HTTPServer')
-rw-r--r-- | plugins/HTTPServer/src/GuiElements.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index 4443a1709b..7b21ed1e8e 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -1013,9 +1013,8 @@ void SendLinkToUser(WPARAM wParam, char *pszSrvPath) { // Developer : KN, Houdini
/////////////////////////////////////////////////////////////////////
-static INT_PTR nShareNewFile(WPARAM wParam, LPARAM lParam) {
- MCONTACT hContact = wParam;
-
+static INT_PTR nShareNewFile(WPARAM hContact, LPARAM lParam)
+{
// used to be _MAX_PATH
// changed it since selecting multiple files requires a bigger buffer
char szNewFile[10000] = {0};
|