-
Notifications
You must be signed in to change notification settings - Fork 913
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) We can't simply cast away const to manipulate a string, the compiler can assume we don't. The type must be made non-const. 2) cisspace() is nicer to use than isspace() (no cast required!) 3) Simply place a NUL terminator instead of using memmove to set it. 4) Use cast_const to add const to char **, where necessary. 5) Add Changelog line, for CHANGELOG.md Changelog-Fixed: Config: whitespace at the end of (most) options is now ignored, not complained about. Signed-off-by: Rusty Russell <[email protected]>
- Loading branch information
1 parent
3e65ef4
commit 62f531a
Showing
3 changed files
with
9 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters