Ignore:
Timestamp:
Oct 8, 2013 9:08:13 AM (11 years ago)
Author:
bennylp
Message:

Re #1703: fixing general bugs. First installment: correct handling of snprintf return value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/os_error_symbian.cpp

    r3553 r4613  
    163163 
    164164    if (!len) { 
    165         len = pj_ansi_snprintf( buf, bufsize, "Symbian native error %d",  
     165        len = pj_ansi_snprintf( buf, bufsize-1, "Symbian native error %d", 
    166166                                os_errcode); 
    167167        buf[len] = '\0'; 
Note: See TracChangeset for help on using the changeset viewer.