Fix typo in log upload

This commit is contained in:
fryshorts
2014-08-25 22:22:57 +02:00
parent 5fa6dbe2d1
commit 52e7200400

View File

@@ -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;
}