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/pjnath/src/pjnath-test/main.c

    r2394 r2408  
    5454 
    5555        puts("Press <ENTER> to exit"); 
    56         fgets(buf, sizeof(buf), stdin); 
     56        if (fgets(buf, sizeof(buf), stdin) == NULL) 
     57            return rc; 
    5758    } 
    5859 
Note: See TracChangeset for help on using the changeset viewer.