Changeset 1986 for pjproject/trunk/pjlib/src/pj/activesock.c
- Timestamp:
- Jun 6, 2008 2:12:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/activesock.c
r1962 r1986 98 98 pj_ioqueue_t *ioqueue, 99 99 const pj_activesock_cb *cb, 100 void *user_data, 100 101 pj_activesock_t **p_asock) 101 102 { … … 115 116 asock->async_count = (opt? opt->async_cnt : 1); 116 117 asock->max_loop = PJ_ACTIVESOCK_MAX_LOOP; 118 asock->user_data = user_data; 117 119 pj_memcpy(&asock->cb, cb, sizeof(*cb)); 118 120 … … 144 146 pj_ioqueue_t *ioqueue, 145 147 const pj_activesock_cb *cb, 148 void *user_data, 146 149 pj_activesock_t **p_asock, 147 150 pj_sockaddr *bound_addr) … … 169 172 170 173 status = pj_activesock_create(pool, sock_fd, pj_SOCK_DGRAM(), opt, 171 ioqueue, cb, p_asock);174 ioqueue, cb, user_data, p_asock); 172 175 if (status != PJ_SUCCESS) { 173 176 pj_sock_close(sock_fd);
Note: See TracChangeset
for help on using the changeset viewer.