Ignore:
Timestamp:
Jan 1, 2009 10:08:21 PM (12 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/playfile.c

    r2394 r2408  
    173173    puts("Press <ENTER> to stop playing and quit"); 
    174174 
    175     fgets(tmp, sizeof(tmp), stdin); 
     175    if (fgets(tmp, sizeof(tmp), stdin) == NULL) { 
     176        puts("EOF while reading stdin, will quit now.."); 
     177    } 
    176178 
    177179     
Note: See TracChangeset for help on using the changeset viewer.