Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make the return value of getline() handled correct
getline() will return -1 when fail, so make the return value handle correct. Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
- Loading branch information
1 parent
724243f
commit 735c024
Showing
3 changed files
with
11 additions
and
11 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