Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: Fix last value of index range in FTP listing response #257

Closed
wants to merge 2 commits into from

Conversation

mgrojo
Copy link
Contributor

@mgrojo mgrojo commented May 31, 2024

No description provided.

@@ -168,7 +168,7 @@ CSFML_NETWORK_API size_t sfFtpListingResponse_getCount(const sfFtpListingRespons
/// \brief Return a directory/file name contained in a FTP listing response
///
/// \param ftpListingResponse Ftp listing response
/// \param index Index of the name to get (in range [0 .. getCount])
/// \param index Index of the name to get (in range [0 .. getCount-1])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// \param index Index of the name to get (in range [0 .. getCount-1])
/// \param index Index of the name to get (in range [0 .. getCount))

We can use a closing parentheses to indicate this is an open/closed set

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, as you like. I didn't use that mathematical notation because it is seldom used for integers.

@ChrisThrasher
Copy link
Member

If you rebase on master then the CI issues will get fixed. I just merged a fix for that.

@eXpl0it3r eXpl0it3r added the Bug label Jun 1, 2024
@mgrojo
Copy link
Contributor Author

mgrojo commented Jun 1, 2024

If you rebase on master then the CI issues will get fixed. I just merged a fix for that.

Done and improved in #258

@mgrojo mgrojo closed this Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants