[Asterisk-code-review] Subscription body text string to 512 (asterisk[master])

Joshua Elson asteriskteam at digium.com
Mon Mar 13 15:27:43 CDT 2017


Joshua Elson has uploaded a new change for review. ( https://gerrit.asterisk.org/5173 )

Change subject: Subscription body text string to 512
......................................................................

Subscription body text string to 512

Change-Id: I884b6f4e8233a355d0be687ec78d41bc0e4d3fd2
---
M res/res_pjsip_pubsub.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/73/5173/1

diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index e905024..a4ec872 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1121,7 +1121,7 @@
 		return NULL;
 	}
 
-	sub->body_text = ast_str_create(128);
+	sub->body_text = ast_str_create(512);
 	if (!sub->body_text) {
 		destroy_subscription(sub);
 		return NULL;

-- 
To view, visit https://gerrit.asterisk.org/5173
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I884b6f4e8233a355d0be687ec78d41bc0e4d3fd2
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Elson <joshelson at gmail.com>



More information about the asterisk-code-review mailing list