Changeset 6079
- Timestamp:
- Sep 26, 2019 11:15:24 AM (5 years ago)
- Location:
- pjproject/trunk/pjlib/src/pj
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ip_helper_generic.c
r6045 r6079 537 537 unsigned deprecatedCount = *p_cnt; 538 538 unsigned cnt = 0; 539 int i; 539 540 pj_status_t status; 540 541 … … 547 548 return status; 548 549 549 for (int i = 0; i < *p_cnt; ++i) { 550 for (i = 0; i < *p_cnt; ++i) { 551 int j; 552 550 553 ifs[cnt++] = addrs[i]; 551 554 … … 553 556 continue; 554 557 555 for ( intj = 0; j < deprecatedCount; ++j) {558 for (j = 0; j < deprecatedCount; ++j) { 556 559 if (pj_sockaddr_cmp(&addrs[i], &deprecatedAddrs[j]) == 0) { 557 560 cnt--; -
pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c
r6054 r6079 146 146 # pragma comment(lib, "ssleay32") 147 147 # endif 148 # define strerror_r(errno,buf,len) strerror_s(buf,len,errno) 148 #endif 149 150 151 #if defined(PJ_WIN32) && PJ_WIN32 != 0 || \ 152 defined(PJ_WIN64) && PJ_WIN64 != 0 153 # ifdef _MSC_VER 154 # define strerror_r(err,buf,len) strerror_s(buf,len,err) 155 # else 156 # define strerror_r(err,buf,len) pj_ansi_strncpy(buf,strerror(err),len) 157 # endif 149 158 #endif 150 159
Note: See TracChangeset
for help on using the changeset viewer.