Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
1a917e5414
  1. 2
      crypto777/iguana_OS.c

2
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));
}

Loading…
Cancel
Save