Skip to content

inet_ntop() -- error: argument 'size' doesn't match prototype #2

@rahulrajaram

Description

@rahulrajaram

Hi,

Thanks for hosting this project. I have found a problem in the following step.

cd libfree
make

It looks like this definition of inet_ntop conflicts with the prototype here. Specifically, the fourth parameter, size, which is of type size_t in libfree/inet_ntop.c, should actually be socklen_t.

I have verified that libfree/ complies after making the change.

Thanks,
Rahul.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions