Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: too many arguments to function 'httpcOpenContext' #7

Open
fosspill opened this issue Jan 11, 2017 · 2 comments
Open

error: too many arguments to function 'httpcOpenContext' #7

fosspill opened this issue Jan 11, 2017 · 2 comments

Comments

@fosspill
Copy link

Getting this error while compiling.
Error in code or me doing something wrong?

@thejsa
Copy link
Owner

thejsa commented Jan 11, 2017

It's not your fault; either I've messed something up, or ctrulib has changed the format of httpcOpenContext.
I haven't updated this in a while but I want to rewrite a lot of this in the near future (:

@thejsa
Copy link
Owner

thejsa commented Jan 11, 2017

This is odd, as in ctrulib master, httpcOpenContext is defined as httpcOpenContext(httpcContext *context, HTTPC_RequestMethod method, const char* url, u32 use_defaultproxy) . (matches with my code)
Are you using a very old version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants