commit | 32d267bb67e9840da2d64a5e0eb8e3c4c5bbe86d | [log] [tgz] |
---|---|---|
author | Benny Prijono <bennylp@teluu.com> | Thu Jan 01 22:08:21 2009 +0000 |
committer | Benny Prijono <bennylp@teluu.com> | Thu Jan 01 22:08:21 2009 +0000 |
tree | 37b6e83a23282b53ed0ab8a602498798bb56c57d | |
parent | 95b5340fa6e67214389dbeae8b7072203707cde3 [diff] [blame] |
Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/samples/stereotest.c b/pjsip-apps/src/samples/stereotest.c index f7e9e6b..504b2e0 100644 --- a/pjsip-apps/src/samples/stereotest.c +++ b/pjsip-apps/src/samples/stereotest.c
@@ -295,8 +295,9 @@ puts(""); puts("Press <ENTER> to stop and quit"); - fgets(tmp, sizeof(tmp), stdin); - + if (fgets(tmp, sizeof(tmp), stdin) == NULL) { + puts("EOF while reading stdin, will quit now.."); + } /* Start deinitialization: */