The parameter was being passed as a pointer instead of being dereferenced
@@ -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;
}