From 1a917e5414df74c99adec7278146e7884429cad0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 2 Feb 2016 00:59:09 -0300 Subject: [PATCH] test --- crypto777/iguana_OS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto777/iguana_OS.c b/crypto777/iguana_OS.c index b9c053b78..438ba3386 100755 --- a/crypto777/iguana_OS.c +++ b/crypto777/iguana_OS.c @@ -881,7 +881,7 @@ int32_t OS_getline(int32_t waitflag,char *line,int32_t max,char *dispstr) return((int32_t)strlen(line)); } #endif - if ( fgets(line,max,stdin) >= 0 ) + if ( fgets(line,max,stdin) != 0 ) line[strlen(line)-1] = 0; return((int32_t)strlen(line)); }