file-updater: Fix warning parameter
The parameter was being passed as a pointer instead of being dereferenced
This commit is contained in:
parent
8f3289fc4d
commit
45015db9d8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user