Maybe when I opened the previous patch by a text editor to check if it has all I wanted to add tabs were accidentally replaced by spaces.
Anyway fixed version is in the attachment.
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.

Can you resend in it raw format with 'git diff >../filename.patch'?

Cheers,
Daniel


On Fri, Sep 6, 2013 at 12:46 AM, Vitaliy Aleksandrov <vitalik.voip@gmail.com> wrote:
Make the patch for master branch, 4.0 doesn't take any new feature and I applied the patches to master branch anyhow.

Also, do not forget the patch for xml documentation.

Cheers,
Daniel
Patch for master branch is in the attachment.

Changelog:
- documentation is updated
- tcpconn_id initialized to "-1" for contacts loaded from a database during startup (Write-Back & Write-Through database modes).
- tcpconn_id is being updated when UA reconnects and refreshes its registration.

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
   - more details about Kamailio trainings at http://www.asipto.com -


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users