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

    r2394 r2408  
    8383        char s[10]; 
    8484        printf("<Press ENTER to quit>\n"); fflush(stdout); 
    85         fgets(s, sizeof(s), stdin); 
     85        if (fgets(s, sizeof(s), stdin) == NULL) 
     86            return retval; 
    8687    } 
    8788 
Note: See TracChangeset for help on using the changeset viewer.