Skip to content

cf-socket.c contains references to non-existent struct fields #13210

Description

@RMMoreton

I did this

I tried to build curl 8.7.1 with HAVE_GETSOCKNAME undefined.

I expected the following

I expected curl to build successfully. Instead, I got two errors:

error: no member named 'l_ip' in 'struct cf_socket_ctx'
error: no member named 'l_port' in 'struct cf_socket_ctx'

I think these two were missed in fcef00d.

curl/libcurl version

curl 8.7.1

operating system

Debian 6.6.13 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions