Ignore:
Timestamp:
Mar 21, 2007 9:31:01 AM (14 years ago)
Author:
bennylp
Message:

s/stun_setting/stun_config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjstun-srv-test/server.c

    r1080 r1091  
    8484        goto on_error; 
    8585 
    86     status = pj_stun_config_create(srv->si.pf, 0, srv->si.ioqueue,  
    87                                      srv->si.timer_heap, &srv->si.cfg); 
    88     if (status != PJ_SUCCESS) 
    89         goto on_error; 
     86    pj_stun_config_init(&srv->si.stun_cfg, srv->si.pf, 0, srv->si.ioqueue, 
     87                        srv->si.timer_heap); 
    9088 
    9189    srv->si.thread_cnt = thread_cnt; 
     
    175173    } 
    176174 
    177     pj_stun_config_destroy(srv->si.cfg); 
    178175    pj_timer_heap_destroy(srv->si.timer_heap); 
    179176    pj_ioqueue_destroy(srv->si.ioqueue); 
Note: See TracChangeset for help on using the changeset viewer.