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

gskit_send() does not match declaration #6569

jonrumsey opened this issue Feb 4, 2021 · 0 comments

gskit_send() does not match declaration #6569

jonrumsey opened this issue Feb 4, 2021 · 0 comments


Copy link

I did this

Build libcurl with GSKIT support, gskit.c failed;
CZM0068(30) Operation between types "int()(struct Curl_easy,int,const void*,unsigned int,enum {...})" and "int()(struct connectdata*,int,const void*,unsigned int,enum {...}*)" is not allowed.

    conn->send[sockindex] = gskit_send;

urldata.h prototype for Curl_send is;

    /* return the count of bytes sent, or -1 on error */
    typedef ssize_t (Curl_send)(struct Curl_easy *data,   /* transfer */
                        int sockindex,            /* socketindex */
                        const void *buf,          /* data to write */
                        size_t len,               /* max amount to write */
                        CURLcode *err);           /* error to return */

so gskit_send() needs to pick connectdata from Curl_easy like gskit_recv() does.

I expected the following

Clean build

curl/libcurl version

Curl 7.75.0

operating system

OS400 V7R2M0

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

Successfully merging a pull request may close this issue.

1 participant