提交 45015db9 编写于 作者: J jp9000

file-updater: Fix warning parameter

The parameter was being passed as a pointer instead of being
dereferenced
上级 8f3289fc
......@@ -142,7 +142,7 @@ static bool do_http_request(struct update_info *info, const char *url,
if (*response_code >= 400) {
warn("Remote update of URL \"%s\" failed: HTTP/%ld", url,
response_code);
*response_code);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册