Changeset 5170 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
- Timestamp:
- Aug 25, 2015 8:45:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r5133 r5170 907 907 if (ua_cfg->nameserver_count) { 908 908 #if PJSIP_HAS_RESOLVER 909 unsigned i ;909 unsigned ii; 910 910 911 911 /* Create DNS resolver */ … … 934 934 935 935 /* Print nameservers */ 936 for (i =0; i<ua_cfg->nameserver_count; ++i) {936 for (ii=0; ii<ua_cfg->nameserver_count; ++ii) { 937 937 PJ_LOG(4,(THIS_FILE, "Nameserver %.*s added", 938 (int)ua_cfg->nameserver[i ].slen,939 ua_cfg->nameserver[i ].ptr));938 (int)ua_cfg->nameserver[ii].slen, 939 ua_cfg->nameserver[ii].ptr)); 940 940 } 941 941 #else … … 1100 1100 /* Start worker thread if needed. */ 1101 1101 if (pjsua_var.ua_cfg.thread_cnt) { 1102 unsigned i ;1102 unsigned ii; 1103 1103 1104 1104 if (pjsua_var.ua_cfg.thread_cnt > PJ_ARRAY_SIZE(pjsua_var.thread)) 1105 1105 pjsua_var.ua_cfg.thread_cnt = PJ_ARRAY_SIZE(pjsua_var.thread); 1106 1106 1107 for (i =0; i<pjsua_var.ua_cfg.thread_cnt; ++i) {1107 for (ii=0; ii<pjsua_var.ua_cfg.thread_cnt; ++ii) { 1108 1108 status = pj_thread_create(pjsua_var.pool, "pjsua", &worker_thread, 1109 NULL, 0, 0, &pjsua_var.thread[i ]);1109 NULL, 0, 0, &pjsua_var.thread[ii]); 1110 1110 if (status != PJ_SUCCESS) 1111 1111 goto on_error;
Note: See TracChangeset
for help on using the changeset viewer.