Skip to content

Commit

Permalink
Uncrustify
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 6, 2014
1 parent 8f38cb1 commit 37221d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/geoipupdate.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,11 +339,11 @@ void get_to_disc(geoipupdate_s * gu, const char *url, const char *fname)
curl_easy_strerror(res), url);

long status = 0;
curl_easy_getinfo (curl, CURLINFO_RESPONSE_CODE, &status);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &status);

exit_unless( status >= 200 && status < 300,
"Received an unexpected HTTP status code of %ld from %s",
status, url);
"Received an unexpected HTTP status code of %ld from %s",
status, url);

fclose(f);
}
Expand Down Expand Up @@ -398,11 +398,11 @@ static in_mem_s *get(geoipupdate_s * gu, const char *url)
curl_easy_strerror(res), url);

long status = 0;
curl_easy_getinfo (curl, CURLINFO_RESPONSE_CODE, &status);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &status);

exit_unless( status >= 200 && status < 300,
"Received an unexpected HTTP status code of %ld from %s",
status, url);
"Received an unexpected HTTP status code of %ld from %s",
status, url);

return mem;
}
Expand Down

0 comments on commit 37221d2

Please sign in to comment.