summaryrefslogtreecommitdiff
path: root/Protocols/SIP/SIPProto.cpp
diff options
context:
space:
mode:
authorpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2010-01-23 17:59:19 +0000
committerpescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7>2010-01-23 17:59:19 +0000
commit181d88456435264dd2631b2ce5009d78fbe2e680 (patch)
treeb112f6e09f885edc4576daf683bbdad3302d0564 /Protocols/SIP/SIPProto.cpp
parent395542942d1ab15f62a8fc4eba068f1d9efcff3f (diff)
sip: fix for vc6
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@216 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/SIPProto.cpp')
-rw-r--r--Protocols/SIP/SIPProto.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Protocols/SIP/SIPProto.cpp b/Protocols/SIP/SIPProto.cpp
index df0a005..1cecb02 100644
--- a/Protocols/SIP/SIPProto.cpp
+++ b/Protocols/SIP/SIPProto.cpp
@@ -1989,7 +1989,8 @@ int __cdecl SIPProto::UserIsTyping(HANDLE hContact, int type)
void SIPProto::LoadMirVer(HANDLE hContact, pjsip_rx_data *rdata)
{
- pjsip_hdr *hdr = (pjsip_hdr *) pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, &pj_str("User-Agent"), NULL);
+ pj_str_t ret;
+ pjsip_hdr *hdr = (pjsip_hdr *) pjsip_msg_find_hdr_by_name(rdata->msg_info.msg, pj_cstr(&ret, "User-Agent"), NULL);
if (hdr)
{
char buff[1024];