Merge pull request #4945 from mmattes/fix/transferEncoding

transferEncoding can be NULL, correct if happens in line 348
This commit is contained in:
akallabeth 2018-10-18 15:37:24 +02:00 committed by GitHub
commit 6f14018a22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,7 @@ static wStream* rdg_build_http_request(rdpRdg* rdg, const char* method,
HttpRequest* request = NULL;
const char* uri;
if (!rdg || !method || !transferEncoding)
if (!rdg || !method )
return NULL;
uri = http_context_get_uri(rdg->http);