Skip to content

Functions that return SOCKPERF_ERROR are now declared with the right type - #159

Open
dolby360 wants to merge 1 commit into
Mellanox:sockperf_v2from
dolby360:use_proper_type
Open

Functions that return SOCKPERF_ERROR are now declared with the right type#159
dolby360 wants to merge 1 commit into
Mellanox:sockperf_v2from
dolby360:use_proper_type

Conversation

@dolby360

Copy link
Copy Markdown

Also, compare rc with the correct error code

Also, compare rc with the correct error code
@ghost

ghost commented Dec 12, 2021

Copy link
Copy Markdown

Can one of the admins verify this patch?

@ChrisCoe

Copy link
Copy Markdown
Contributor

I would actually prefer if return type stays as int, but that's a preference in style. I'd wait to see what the maintainers think. I do agree with the rest of the changes in this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants