Skip to content

Commit

Permalink
Update to work with latest ctrulib
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyquagsire23 committed Sep 17, 2016
1 parent d71eff5 commit 96c5d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Result download_file(httpcContext *context, void** buffer, size_t* size, char* u
if(R_FAILED(ret)) return ret;

u32 status_code = 0;
ret = httpcGetResponseStatusCode(context, &status_code, 0);
ret = httpcGetResponseStatusCode(context, &status_code);
if(R_FAILED(ret)) return ret;

if(status_code != 200) return -1;
Expand Down

0 comments on commit 96c5d6e

Please sign in to comment.