diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-23 17:59:19 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-23 17:59:19 +0000 |
commit | 181d88456435264dd2631b2ce5009d78fbe2e680 (patch) | |
tree | b112f6e09f885edc4576daf683bbdad3302d0564 | |
parent | 395542942d1ab15f62a8fc4eba068f1d9efcff3f (diff) |
sip: fix for vc6
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@216 c086bb3d-8645-0410-b8da-73a8550f86e7
-rw-r--r-- | Protocols/SIP/Docs/sip_readme.txt | 3 | ||||
-rw-r--r-- | Protocols/SIP/SIPProto.cpp | 3 | ||||
-rw-r--r-- | Protocols/SIP/sip.dsp | 8 |
3 files changed, 11 insertions, 3 deletions
diff --git a/Protocols/SIP/Docs/sip_readme.txt b/Protocols/SIP/Docs/sip_readme.txt index f253bf1..010a621 100644 --- a/Protocols/SIP/Docs/sip_readme.txt +++ b/Protocols/SIP/Docs/sip_readme.txt @@ -11,7 +11,7 @@ WARNING: You can create only one instance of the protocol. If you create the sec Known bugs:
-- When you login, you will only show online the contacts that already are online (contacts that came online after that will stay offline)
+- When you login, you will only show online the contacts that already are online (contacts that came online after that will stay offline). Only happens with some servers.
- Password is sent as plain text
@@ -20,7 +20,6 @@ Todo: - Protocol icons
- Use netlib to send/receive packages?
- Ask for new password at first login if "Save password" is not checked
-- Add popups with errors
- User search
- Proxy support (not sip proxy, but socks proxy)
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];
diff --git a/Protocols/SIP/sip.dsp b/Protocols/SIP/sip.dsp index 5bd1322..cc83e5a 100644 --- a/Protocols/SIP/sip.dsp +++ b/Protocols/SIP/sip.dsp @@ -180,6 +180,10 @@ SOURCE=..\..\plugins\utils\mir_options.h # End Source File
# Begin Source File
+SOURCE=.\popup.h
+# End Source File
+# Begin Source File
+
SOURCE=.\resource.h
# End Source File
# Begin Source File
@@ -220,6 +224,10 @@ SOURCE=..\..\plugins\utils\mir_options.cpp # End Source File
# Begin Source File
+SOURCE=.\popup.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\sip.cpp
# End Source File
# Begin Source File
|