diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-21 19:30:55 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-21 19:30:55 +0300 |
commit | 2d3a404b24f0b3de8c5d759cb175cc36f6789733 (patch) | |
tree | 0c6a7873167d8be8165d1b35cb240693e8c59ea9 | |
parent | 84ca8dfd277abbcc51f280811a7aa3be54e3a2bc (diff) |
fixes #4599 (SendSS: Error Uploading to various platforms)
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSend.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp index 19dc9957c4..4d5fa2d064 100644 --- a/plugins/SendScreenshotPlus/src/CSend.cpp +++ b/plugins/SendScreenshotPlus/src/CSend.cpp @@ -501,6 +501,7 @@ int CSend::HTTPFormCreate(MHttpRequest* nlhr, const char* url, HTTPFormData* frm str.Append(buf, filesize);
fclose(fp), fp = nullptr;
}
+ else str.Append(buf, filesize);
}
if (!fp) {
Error(L"Error occurred when opening local file.\nAborting file upload...");
|