- Timestamp:
- Mar 7, 2013 5:08:10 AM (12 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjlib-util/src/pjlib-util/stun_simple_client.c
r3896 r4426 46 46 unsigned srv_cnt; 47 47 pj_sockaddr_in srv_addr[2]; 48 int i, j,send_cnt = 0, nfds;48 int i, send_cnt = 0, nfds; 49 49 pj_pool_t *pool; 50 50 struct query_rec { … … 136 136 /* Send messages to servers that has not given us response. */ 137 137 for (i=0; i<sock_cnt && status==PJ_SUCCESS; ++i) { 138 unsigned j; 138 139 for (j=0; j<srv_cnt && status==PJ_SUCCESS; ++j) { 139 140 pjstun_msg_hdr *msg_hdr = (pjstun_msg_hdr*) out_msg; -
pjproject/branches/1.x/pjlib/src/pj/ioqueue_common_abs.c
r3553 r4426 284 284 struct write_operation *write_op; 285 285 pj_ssize_t sent; 286 pj_status_t send_rc ;286 pj_status_t send_rc = PJ_SUCCESS; 287 287 288 288 /* Get the first in the queue. */ … … 313 313 //write_op->op = 0; 314 314 } else if (write_op->op == PJ_IOQUEUE_OP_SEND_TO) { 315 int retry ;316 for (retry=0; retry<2; ++retry) {315 int retry = 2; 316 while (--retry >= 0) { 317 317 send_rc = pj_sock_sendto(h->fd, 318 318 write_op->buf+write_op->written, … … 946 946 PJ_CHECK_STACK(); 947 947 948 #if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 949 PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0 948 950 retry_on_restart: 951 #endif 952 949 953 /* Check if key is closing. */ 950 954 if (IS_CLOSING(key)) -
pjproject/branches/1.x/pjsip-apps/src/pjsystest/systest.c
r4074 r4426 89 89 /*****************************************************************/ 90 90 91 #if defined(PJ_DARWINOS) && PJ_DARWINOS!=0 91 92 PJ_INLINE(char *) add_path(const char *path, const char *fname) 92 93 { … … 95 96 return fpath; 96 97 } 98 #else 99 # define add_path(path, fname) fname 100 #endif 97 101 98 102 static void exit_app(void) -
pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_media.c
r4346 r4426 1734 1734 pjmedia_port *media_port; 1735 1735 pj_status_t status; 1736 1737 PJ_UNUSED_ARG(local_sdp); 1738 PJ_UNUSED_ARG(remote_sdp); 1736 1739 1737 1740 /* Optionally, application may modify other stream settings here
Note: See TracChangeset
for help on using the changeset viewer.