changed terminating status of opj_server in debug/non-server mode

This commit is contained in:
Kaori Hagihara 2011-09-01 13:32:42 +00:00
parent aba0e602ed
commit 480ca88b68
2 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ What's New for OpenJPIP
! : changed
+ : added
Septempber 1, 2011
* [kaori] changed terminating status of opj_server in debug/non-server mode
August 27, 2011
* [antonin] fixed missing include directory in opj_client/opj_dec_server/CMakeLists.txt

View File

@ -98,7 +98,7 @@ int main(void)
#else
char query_string[128];
while((fgets( query_string, 128, stdin))[0] != '\n' )
while( fgets( query_string, 128, stdin) && query_string[0]!='\n')
#endif
{