Ignore:
Timestamp:
May 1, 2007 4:54:54 PM (17 years ago)
Author:
bennylp
Message:

PJSDP port to Symbian

File:
1 edited

Legend:

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

    r1031 r1240  
    104104 
    105105    PJ_ASSERT_RETURN(pool && p_res, PJ_EINVAL); 
    106     resolver = pj_pool_zalloc(pool, sizeof(*resolver)); 
     106    resolver = PJ_POOL_ZALLOC_T(pool, pjsip_resolver_t); 
    107107    *p_res = resolver; 
    108108 
     
    279279 
    280280    /* Build the query state */ 
    281     query = pj_pool_zalloc(pool, sizeof(struct query)); 
     281    query = PJ_POOL_ZALLOC_T(pool, struct query); 
    282282    pj_ansi_snprintf(query->objname, sizeof(query->objname), "rsvjob%X", 
    283283                     resolver->job_id++); 
     
    299299    query->naptr[0].pref = 0; 
    300300    query->naptr[0].type = type; 
    301     query->naptr[0].target_name.ptr =  
     301    query->naptr[0].target_name.ptr = (char*) 
    302302        pj_pool_alloc(pool, target->addr.host.slen + 12); 
    303303 
     
    640640                         pj_dns_parsed_packet *pkt) 
    641641{ 
    642     struct query *query = user_data; 
     642    struct query *query = (struct query*) user_data; 
    643643    unsigned i; 
    644644 
Note: See TracChangeset for help on using the changeset viewer.