Skip to content

Bug on page assignment2.org #38

@WuzeBrain

Description

@WuzeBrain

9 Tips and Tricks
str_key_eq returns a bool, but does return strcmp(..., ...);
This is wrong, because strcmp does not return 1 if equal and 0 if different. It returns 1, 0 or -1 depending on how they differ.
Please don't write incorrect code in the "tips or tricks" section.

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