Fix typo in log upload
This commit is contained in:
parent
5fa6dbe2d1
commit
52e7200400
1 changed files with 1 additions and 1 deletions
|
|
@ -1788,7 +1788,7 @@ void OBSBasic::UploadLog(const char *file)
|
|||
obs_data_set_obj(request.get(), "files", files.get());
|
||||
|
||||
const char *json = obs_data_get_json(request.get());
|
||||
if (json) {
|
||||
if (!json) {
|
||||
blog(LOG_ERROR, "Failed to get JSON data for log upload");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue