-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
use str* API in place of isdigit() in server/conf.c #676
Labels
C-str
Issues and PRs about C/C++ methods, headers and data types dealing with strings and memory blocks
refactor/fightwarn
PR or issue proposal to improve code maintainability without functional changes, or to fix warnings
Milestone
Comments
aquette
added a commit
to aquette/nut
that referenced
this issue
Mar 13, 2019
Closes networkupstools#676 Signed-off-by: Arnaud Quette <ArnaudQuette@eaton.com>
aquette
added
the
ready / code review
Author (and CI) consider the PR worthy of human rewievers' time
label
Mar 13, 2019
jimklimov
added a commit
to jimklimov/nut
that referenced
this issue
Apr 5, 2019
Solution: as a quick fix, pick the first char of the string we pass. The proper fix would be to use the str_*() API for safe conversions, in a later iteration. See-also: networkupstools#676 Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this issue
Apr 5, 2019
Solution: as a quick fix, pick the first char of the string we pass. The proper fix would be to use the str_*() API for safe conversions, in a later iteration. See-also: networkupstools#676 Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
jimklimov
added a commit
to jimklimov/nut
that referenced
this issue
Apr 5, 2019
Solution: as a quick fix, pick the first char of the string we pass. The proper fix would be to use the str_*() API for safe conversions, in a later iteration. See-also: networkupstools#676 Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
aquette
pushed a commit
that referenced
this issue
Apr 5, 2019
Solution: as a quick fix, pick the first char of the string we pass. The proper fix would be to use the str_*() API for safe conversions, in a later iteration. See-also: #676 Signed-off-by: Jim Klimov <EvgenyKlimov@eaton.com>
clepple
removed
the
ready / code review
Author (and CI) consider the PR worthy of human rewievers' time
label
Apr 29, 2019
clepple
changed the title
fix invocation of isdigit(), or use str* API
use str* API in place of isdigit() in server/conf.c
Apr 29, 2019
jimklimov
added
the
refactor/fightwarn
PR or issue proposal to improve code maintainability without functional changes, or to fix warnings
label
Nov 14, 2021
jimklimov
added
the
C-str
Issues and PRs about C/C++ methods, headers and data types dealing with strings and memory blocks
label
Apr 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-str
Issues and PRs about C/C++ methods, headers and data types dealing with strings and memory blocks
refactor/fightwarn
PR or issue proposal to improve code maintainability without functional changes, or to fix warnings
isdigit()
takes a char/int, not a char*.Originally mentioned here, but we need to fix this before the next release.
The text was updated successfully, but these errors were encountered: