Ignore:
Timestamp:
May 2, 2007 5:14:29 AM (14 years ago)
Author:
bennylp
Message:

Ported PJSIP and PJSIP-SIMPLE to Symbian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-simple/xpidf.c

    r974 r1241  
    4141    pj_xml_node *node; 
    4242 
    43     node = pj_pool_alloc(pool, sizeof(pj_xml_node)); 
     43    node = PJ_POOL_ALLOC_T(pool, pj_xml_node); 
    4444    pj_list_init(&node->attr_head); 
    4545    pj_list_init(&node->node_head); 
     
    5454                                    const pj_str_t *value) 
    5555{ 
    56     pj_xml_attr *attr = pj_pool_alloc(pool, sizeof(*attr)); 
     56    pj_xml_attr *attr = PJ_POOL_ALLOC_T(pool, pj_xml_attr); 
    5757    attr->name = *name; 
    5858    pj_strdup(pool, &attr->value, value); 
     
    8080 
    8181    /* uri attribute */ 
    82     uri.ptr = pj_pool_alloc(pool, uri_cstr->slen + STR_SUBSCRIBE_PARAM.slen); 
     82    uri.ptr = (char*) pj_pool_alloc(pool, uri_cstr->slen +  
     83                                           STR_SUBSCRIBE_PARAM.slen); 
    8384    pj_strcpy( &uri, uri_cstr); 
    8485    pj_strcat( &uri, &STR_SUBSCRIBE_PARAM); 
Note: See TracChangeset for help on using the changeset viewer.