Ignore:
Timestamp:
Jun 6, 2008 2:12:23 PM (15 years ago)
Author:
bennylp
Message:

More ticket #531: added user_data parameter in activesocket creation API to make it more robust against programming errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pjlib-test/activesock.c

    r1953 r1986  
    115115 
    116116    status = pj_activesock_create_udp(pool, &addr, NULL, ioqueue, &activesock_cb,  
    117                                       &srv->asock, &addr); 
     117                                      srv, &srv->asock, &addr); 
    118118    if (status != PJ_SUCCESS) { 
    119119        pj_sock_close(sock_fd); 
     
    124124    srv->port = pj_ntohs(addr.ipv4.sin_port); 
    125125 
    126     pj_activesock_set_user_data(srv->asock, srv); 
    127126    pj_ioqueue_op_key_init(&srv->send_key, sizeof(srv->send_key)); 
    128127 
Note: See TracChangeset for help on using the changeset viewer.