Changeset 3753 for pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
- Timestamp:
- Sep 18, 2011 2:59:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r3553 r3753 579 579 (int)sub->state_str.slen, 580 580 sub->state_str.ptr)); 581 pj_log_push_indent(); 581 582 582 583 /* don't call the callback with NULL event, it may crash the app! */ … … 596 597 } 597 598 } 599 600 pj_log_pop_indent(); 598 601 } 599 602 … … 628 631 629 632 PJ_LOG(5,(sub->obj_name, "Refreshing subscription.")); 633 pj_log_push_indent(); 630 634 status = pjsip_evsub_initiate(sub, NULL, 631 635 sub->expires->ivalue, … … 633 637 if (status == PJ_SUCCESS) 634 638 pjsip_evsub_send_request(sub, tdata); 639 640 pj_log_pop_indent(); 635 641 } 636 642 break; … … 646 652 PJ_LOG(5,(sub->obj_name, "Timeout waiting for refresh. " 647 653 "Sending NOTIFY to terminate.")); 654 pj_log_push_indent(); 648 655 status = pjsip_evsub_notify( sub, PJSIP_EVSUB_STATE_TERMINATED, 649 656 NULL, &STR_TIMEOUT, &tdata); 650 657 if (status == PJ_SUCCESS) 651 658 pjsip_evsub_send_request(sub, tdata); 659 660 pj_log_pop_indent(); 652 661 } 653 662 break; … … 659 668 PJ_LOG(5,(sub->obj_name, "Timeout waiting for final NOTIFY. " 660 669 "Terminating..")); 670 pj_log_push_indent(); 661 671 set_state(sub, PJSIP_EVSUB_STATE_TERMINATED, NULL, NULL, 662 672 &timeout); 673 pj_log_pop_indent(); 663 674 } 664 675 break; … … 673 684 "send non-2xx response for previous NOTIFY). " 674 685 "Unsubscribing..")); 686 pj_log_push_indent(); 675 687 status = pjsip_evsub_initiate( sub, NULL, 0, &tdata); 676 688 if (status == PJ_SUCCESS) 677 689 pjsip_evsub_send_request(sub, tdata); 690 691 pj_log_pop_indent(); 678 692 } 679 693 break;
Note: See TracChangeset
for help on using the changeset viewer.