From 6cc1aa9c0d5069a7d47e297c165e4796cdc0cbd8 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 6 Feb 2008 01:03:05 +0000 Subject: [PATCH] fixes double 'Route:' in header git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@666 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/binrpcctrl/BrpcCtrlInterface.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/plug-in/binrpcctrl/BrpcCtrlInterface.cpp b/core/plug-in/binrpcctrl/BrpcCtrlInterface.cpp index a8520da4..cdba0d87 100644 --- a/core/plug-in/binrpcctrl/BrpcCtrlInterface.cpp +++ b/core/plug-in/binrpcctrl/BrpcCtrlInterface.cpp @@ -1047,13 +1047,13 @@ static inline brpc_t *build_cancel(const AmSipRequest &amReq) return req; } -#define XTRA_HDRS(_xhdrs, _msg) \ - string _xhdrs; \ - if (_msg.route.length()) \ - _xhdrs += SIP_HDR_COLSP(SIP_HDR_ROUTE) + _msg.route + CRLF; \ - if (_msg.contact.length()) \ - _xhdrs += _msg.contact; \ - if (_msg.content_type.length()) \ +#define XTRA_HDRS(_xhdrs, _msg) \ + string _xhdrs; \ + if (_msg.route.length()) \ + _xhdrs += _msg.route; \ + if (_msg.contact.length()) \ + _xhdrs += _msg.contact; \ + if (_msg.content_type.length()) \ _xhdrs += SIP_HDR_COLSP(SIP_HDR_CONTENT_TYPE) + _msg.content_type + CRLF;\ _xhdrs += _msg.hdrs;