Ignore:
Timestamp:
Jan 1, 2009 10:08:21 PM (15 years ago)
Author:
bennylp
Message:

Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/sndinfo.c

    r2394 r2408  
    203203    //pj_thread_sleep(1000); 
    204204    puts("Press <ENTER> to stop"); 
    205     fgets(tmp, sizeof(tmp), stdin); 
    206  
     205    if (fgets(tmp, sizeof(tmp), stdin) == NULL) { 
     206        puts("EOF while reading stdin, will quit now.."); 
     207    } 
    207208 
    208209    pjmedia_snd_stream_close(strm); 
Note: See TracChangeset for help on using the changeset viewer.