diff options
author | Richard Mudgett <rmudgett@digium.com> | 2015-09-09 12:24:31 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2015-09-10 13:16:12 -0500 |
commit | 25266594320f63904dd6c97d154a4218b1ecb705 (patch) | |
tree | f1740bb2d60bfc7f5aa091d408d857c65ba31f28 | |
parent | 9b290dfe2f2746698153961a9479877f8ead9844 (diff) |
res_pjsip_pubsub.c: Add some notification comments.
Change-Id: Ie62ff1f4b7adc1a12fa0303f53926af249b25e20
-rw-r--r-- | res/res_pjsip_pubsub.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c index 802bb9ec3..31810a3a1 100644 --- a/res/res_pjsip_pubsub.c +++ b/res/res_pjsip_pubsub.c @@ -1171,6 +1171,7 @@ static void shutdown_subscriptions(struct ast_sip_subscription *sub) return; } + /* We notify subscription shutdown only on the tree leaves. */ if (sub->handler->subscription_shutdown) { sub->handler->subscription_shutdown(sub); } @@ -2523,6 +2524,7 @@ static int generate_initial_notify(struct ast_sip_subscription *sub) return 0; } + /* We notify subscription establishment only on the tree leaves. */ if (sub->handler->notifier->subscription_established(sub)) { return -1; } |