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

Ported PJSIP and PJSIP-SIMPLE to Symbian

File:
1 edited

Legend:

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

    r1080 r1241  
    8383    //pj_pool_reset(pool); 
    8484 
    85     rdata = pj_pool_zalloc(pool, sizeof(pjsip_rx_data)); 
     85    rdata = PJ_POOL_ZALLOC_T(pool, pjsip_rx_data); 
    8686 
    8787    /* Init tp_info part. */ 
     
    262262                                   pj_ssize_t bytes_sent) 
    263263{ 
    264     struct udp_transport *tp = pj_ioqueue_get_user_data(key); 
     264    struct udp_transport *tp = (struct udp_transport*)  
     265                               pj_ioqueue_get_user_data(key); 
    265266    pjsip_tx_data_op_key *tdata_op_key = (pjsip_tx_data_op_key*)op_key; 
    266267 
     
    447448 
    448449    /* Create the UDP transport object. */ 
    449     tp = pj_pool_zalloc(pool, sizeof(struct udp_transport)); 
     450    tp = PJ_POOL_ZALLOC_T(pool, struct udp_transport); 
    450451 
    451452    /* Save pool. */ 
     
    497498 
    498499    /* Transport info. */ 
    499     tp->base.info = pj_pool_alloc(pool, M); 
     500    tp->base.info = (char*) pj_pool_alloc(pool, M); 
    500501    pj_ansi_snprintf(  
    501502        tp->base.info, M, "udp %s:%d [published as %s:%d]", 
     
    543544    /* Create rdata and put it in the array. */ 
    544545    tp->rdata_cnt = 0; 
    545     tp->rdata = pj_pool_calloc(tp->base.pool, async_cnt,  
     546    tp->rdata = (pjsip_rx_data**) 
     547                pj_pool_calloc(tp->base.pool, async_cnt,  
    546548                               sizeof(pjsip_rx_data*)); 
    547549    for (i=0; i<async_cnt; ++i) { 
Note: See TracChangeset for help on using the changeset viewer.