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

Joshua Elson asteriskteam at digium.com
Mon Mar 13 15:21:34 CDT 2017


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

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/71/5171/1

diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c
index 1892a20..4e27f5e 100644
--- a/res/res_pjsip_pubsub.c
+++ b/res/res_pjsip_pubsub.c
@@ -1143,7 +1143,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/5171
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list