Ignore:
Timestamp:
Oct 29, 2006 6:13:13 PM (17 years ago)
Author:
bennylp
Message:

Another Symbian commit, ported all PJSIP libraries and sipstateless runs without crashes (still no SIP message though)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/symbian/pjlib-util/src/pjlib-util/stun_client.c

    r217 r789  
    4242    int i, j, send_cnt = 0; 
    4343    pj_pool_t *pool; 
    44     struct { 
     44    struct stun_rec { 
    4545        struct { 
    4646            pj_uint32_t mapped_addr; 
     
    6262 
    6363    /* Allocate client records */ 
    64     rec = pj_pool_calloc(pool, sock_cnt, sizeof(*rec)); 
     64    rec = (struct stun_rec*) pj_pool_calloc(pool, sock_cnt, sizeof(*rec)); 
    6565    if (!rec) { 
    6666        status = PJ_ENOMEM; 
     
    9898        for (i=0; i<sock_cnt && status==PJ_SUCCESS; ++i) { 
    9999            for (j=0; j<2 && status==PJ_SUCCESS; ++j) { 
    100                 pj_stun_msg_hdr *msg_hdr = out_msg; 
     100                pj_stun_msg_hdr *msg_hdr = (pj_stun_msg_hdr*) out_msg; 
    101101                pj_ssize_t sent_len; 
    102102 
     
    195195                } 
    196196 
    197                 attr = (void*)pj_stun_msg_find_attr(&msg, PJ_STUN_ATTR_MAPPED_ADDR); 
     197                attr = (pj_stun_mapped_addr_attr *)pj_stun_msg_find_attr(&msg, PJ_STUN_ATTR_MAPPED_ADDR); 
    198198                if (!attr) { 
    199199                    status = PJLIB_UTIL_ESTUNNOMAP; 
Note: See TracChangeset for help on using the changeset viewer.