Ignore:
Timestamp:
Jul 29, 2006 8:29:24 PM (18 years ago)
Author:
bennylp
Message:

Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c

    r563 r635  
    360360     
    361361    /* Initialize transport properties. */ 
    362     pj_ansi_sprintf(loop->base.obj_name, "loop%p", loop); 
     362    pj_ansi_snprintf(loop->base.obj_name, sizeof(loop->base.obj_name),  
     363                     "loop%p", loop); 
    363364    loop->base.pool = pool; 
    364365    status = pj_atomic_create(pool, 0, &loop->base.ref_cnt); 
Note: See TracChangeset for help on using the changeset viewer.