<p>nappsoft <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14449">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_logger.c: correct the return value checks when writing to pcap<br>files<br><br>fwrite() does return the number of elements written and not the<br>number of bytes. However asterisk is currently comparing the return<br>value to the size of the written element what means that asterisk logs<br>five WARNING messages on every packet written to the pcap file.<br><br>This patch changes the code to check for the correct value, which will<br>always be 1.<br><br>ASTERISK-28921 #close<br><br>Change-Id: I2455032d9cb4c5a500692923f9e2a22e68b08fc2<br>---<br>M res/res_pjsip_logger.c<br>1 file changed, 5 insertions(+), 5 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/49/14449/3</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14449">change 14449</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/14449"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I2455032d9cb4c5a500692923f9e2a22e68b08fc2 </div>
<div style="display:none"> Gerrit-Change-Number: 14449 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: nappsoft <infos@nappsoft.ch> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>