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 {