mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
- Cosmetic changes for (hopefully) better readability.
git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14837 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: stdio_gets.c,v 1.3 2005-02-03 16:56:16 obarthel Exp $
|
||||
* $Id: stdio_gets.c,v 1.4 2005-02-21 10:21:49 obarthel Exp $
|
||||
*
|
||||
* :ts=4
|
||||
*
|
||||
@ -75,7 +75,7 @@ gets(char *s)
|
||||
/* Take care of the checks and data structure changes that
|
||||
* need to be handled only once for this stream.
|
||||
*/
|
||||
if(__fgetc_check(stdin) != OK)
|
||||
if(__fgetc_check(stdin) < 0)
|
||||
{
|
||||
result = NULL;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user