Skip to content

CURLOPT_READFUNCTION man page: wrong arg passed for CURLOPT_READDATA #4787

Closed
@joycepg

Description

@joycepg

I read this

/* pass in suitable argument to callback */
curl_easy_setopt(curl, CURLOPT_READDATA, uploadthis);

I expected the following

/* pass in suitable argument to callback */
curl_easy_setopt(curl, CURLOPT_READDATA, file);

curl/libcurl version

[curl -V output]

operating system

Activity

jay

jay commented on Jan 6, 2020

@jay
Member

Thanks

locked as resolved and limited conversation to collaborators on Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jay@joycepg

        Issue actions

          CURLOPT_READFUNCTION man page: wrong arg passed for CURLOPT_READDATA · Issue #4787 · curl/curl