<div dir="ltr">How did you generate the patch? Apparently the tabs in existing code were replaced by whitespaces and the patch fails to apply because it doesn't match any longer the context.<div><br></div><div style>Can you resend in it raw format with 'git diff >../filename.patch'?</div>
<div style><br></div><div style>Cheers,</div><div style>Daniel</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 6, 2013 at 12:46 AM, Vitaliy Aleksandrov <span dir="ltr"><<a href="mailto:vitalik.voip@gmail.com" target="_blank">vitalik.voip@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <blockquote type="cite">
      
      Make the patch for master branch, 4.0 doesn't take any new feature
      and I applied the patches to master branch anyhow.<br>
      <br>
      Also, do not forget the patch for xml documentation.<br>
      <br>
      Cheers,<br>
      Daniel<br>
    </blockquote></div>
    Patch for master branch is in the attachment.<br>
    <br>
    Changelog:<br>
    - documentation is updated<br>
    - tcpconn_id initialized to "-1" for contacts loaded from a database
    during startup (Write-Back & Write-Through database modes).<br>
    - tcpconn_id is being updated when UA reconnects and refreshes its
    registration.<br>
  </div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a></div><div><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></div>
<div>Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013</div><div>   - more details about Kamailio trainings at <a href="http://www.asipto.com">http://www.asipto.com</a> -</div></div>
</div>