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/streamutil.c

    r2394 r2408  
    617617        printf("Command: "); fflush(stdout); 
    618618 
    619         fgets(tmp, sizeof(tmp), stdin); 
     619        if (fgets(tmp, sizeof(tmp), stdin) == NULL) { 
     620            puts("EOF while reading stdin, will quit now.."); 
     621            break; 
     622        } 
    620623 
    621624        if (tmp[0] == 's') 
Note: See TracChangeset for help on using the changeset viewer.