Changeset 6035 for pjproject/trunk/pjsip-apps/src/samples/sipecho.c
- Timestamp:
- Jul 1, 2019 7:12:43 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/sipecho.c
r5241 r6035 435 435 pjsip_hdr hdr_list, *h; 436 436 pjsip_msg *msg; 437 int expires = -1;437 unsigned expires = PJSIP_EXPIRES_NOT_SPECIFIED; 438 438 439 439 pj_list_init(&hdr_list); … … 445 445 PJ_LOG(3,(THIS_FILE, " Expires=%d", expires)); 446 446 } 447 if (expires != 0 ) {447 if (expires != 0 && expires != PJSIP_EXPIRES_NOT_SPECIFIED) { 448 448 h = (pjsip_hdr*)pjsip_msg_find_hdr(msg, PJSIP_H_CONTACT, NULL); 449 449 if (h)
Note: See TracChangeset
for help on using the changeset viewer.