Changeset 6035 for pjproject/trunk/pjsip/src/test/regc_test.c
- Timestamp:
- Jul 1, 2019 7:12:43 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test/regc_test.c
r5678 r6035 217 217 int code; 218 218 pj_bool_t have_reg; 219 intexpiration;219 unsigned expiration; 220 220 unsigned contact_cnt; 221 221 pj_bool_t auth; … … 228 228 229 229 /* Additional results */ 230 intinterval;231 intnext_reg;230 unsigned interval; 231 unsigned next_reg; 232 232 }; 233 233 … … 251 251 return; 252 252 253 client->have_reg = info.auto_reg && info.interval>0 && 254 param->expiration>0; 253 client->have_reg = info.auto_reg && 254 info.interval != PJSIP_EXPIRES_NOT_SPECIFIED && 255 param->expiration != PJSIP_EXPIRES_NOT_SPECIFIED; 255 256 client->expiration = param->expiration; 256 257 client->contact_cnt = param->contact_cnt;
Note: See TracChangeset
for help on using the changeset viewer.