<p>Richard Mudgett has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/5815">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">SDP: Add t= line in sdp_create_from_state()<br><br>Change-Id: I4060391328a893101ed87d0d9bacbbab4fd8b141<br>---<br>M main/sdp_state.c<br>1 file changed, 5 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/15/5815/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/sdp_state.c b/main/sdp_state.c<br>index 00f147f..a5f1167 100644<br>--- a/main/sdp_state.c<br>+++ b/main/sdp_state.c<br>@@ -1734,13 +1734,16 @@<br>    if (!c_line) {<br>                goto error;<br>   }<br>-<br>  s_line = ast_sdp_s_alloc(options->sdpsession);<br>     if (!s_line) {<br>                goto error;<br>   }<br>+    t_line = ast_sdp_t_alloc(0, 0);<br>+      if (!t_line) {<br>+               goto error;<br>+  }<br> <br>- sdp = ast_sdp_alloc(o_line, c_line, s_line, NULL);<br>+   sdp = ast_sdp_alloc(o_line, c_line, s_line, t_line);<br>  if (!sdp) {<br>           goto error;<br>   }<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/5815">change 5815</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/5815"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I4060391328a893101ed87d0d9bacbbab4fd8b141 </div>
<div style="display:none"> Gerrit-Change-Number: 5815 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>