From 3707ecd563cfa0f6b853c0b84235865001426086 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 24 Aug 2018 23:11:09 -0400 Subject: [PATCH] fix "publish" button in save browser --- src/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 4f28b9e73..d8153ca81 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -1566,7 +1566,7 @@ RequestStatus Client::PublishSave(int saveID) const char *const postNames[] = { "ActionPublish", NULL }; const char *const postDatas[] = { "" }; - size_t postLengths[] = { 0 }; + size_t postLengths[] = { 1 }; data = http_multipart_post(url.c_str(), postNames, postDatas, postLengths, userID.c_str(), NULL, authUser.SessionID.c_str(), &dataStatus, NULL); } else {