Skip to content

Build fails; "Curl_setopt()" still referenced in OS400 ccsidcurl.c #2230

Closed
@jonrumsey

Description

@jonrumsey

I did this

Compile Curl 7.57.0 on OS400

I expected the following

Clean build, however linking LIBCURL *SRVPGM fails as Curl_setopt is still prototyped in lib/url.h and called in packages/OS400/ccsidcurl.c, looks like it was removed from url.c in #1944.

result = Curl_setopt(data, tag, arg);

I think the fix is to make a call to curl_setstropt() instead and to tidy up and remove the old function prototype for Curl_setopt() from url.h.

result = Curl_setstropt(tag, arg);

curl/libcurl version

[curl -V output]
7.57.0

operating system

OS400

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions