Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Update http.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
KunoichiZ committed Feb 29, 2020
1 parent 91e1a54 commit 80461fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/http.cpp
Expand Up @@ -21,7 +21,7 @@ void httpGet(const char* url, u8** buf, u32* size, const bool verbose, HTTPRespo
// Handle 3xx codes
if (statuscode >= 300 && statuscode < 400) {
char newUrl[1024];
CHECK(httpc.GetResponseHeader(&context, (char*)"Location", newUrl, 1024), "Could not get Location header for 3xx reply");
CHECK(httpc.GetResponseHeader(&context, (char*)"location", newUrl, 1024), "Could not get Location header for 3xx reply");
CHECK(httpc.CloseContext(&context), "Could not close HTTP context");
httpGet(newUrl, buf, size, verbose, info);
return;
Expand Down

0 comments on commit 80461fa

Please sign in to comment.