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/pjmedia/src/pjmedia/stream.c

    r633 r635  
    913913 
    914914{ 
     915    enum { M = 32 }; 
    915916    pjmedia_stream *stream; 
    916917    pj_str_t name; 
     
    927928 
    928929    /* Init stream/port name */ 
    929     name.ptr = pj_pool_alloc(pool, 24); 
    930     name.slen = pj_ansi_snprintf(name.ptr, 24, "strm%p", stream); 
     930    name.ptr = pj_pool_alloc(pool, M); 
     931    name.slen = pj_ansi_snprintf(name.ptr, M, "strm%p", stream); 
    931932 
    932933 
Note: See TracChangeset for help on using the changeset viewer.