summaryrefslogtreecommitdiff
path: root/Protocols/SIP
diff options
context:
space:
mode:
Diffstat (limited to 'Protocols/SIP')
-rw-r--r--Protocols/SIP/Docs/sip_readme.txt3
-rw-r--r--Protocols/SIP/SIPProto.cpp3
-rw-r--r--Protocols/SIP/sip.dsp8
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