diff options
author | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:17:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-09-01 15:17:39 +0000 |
commit | 1b9f36054bddeef87d4f9c139877d28c4e6b1702 (patch) | |
tree | d462cc03209954cf5d3c1172300c7645c0d19c3c /protocols | |
parent | 039db3b302a3f7a3e78f89e430c8cb83efb12b5e (diff) |
- strdel()/strdelw() moved to the core;
- custom implementations removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@15135 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IRCG/src/irclib.cpp | 9 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 9 | ||||
-rw-r--r-- | protocols/JabberG/src/stdafx.h | 4 |
3 files changed, 0 insertions, 22 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp index 8b40818a9e..8c19c1c7b3 100644 --- a/protocols/IRCG/src/irclib.cpp +++ b/protocols/IRCG/src/irclib.cpp @@ -1390,15 +1390,6 @@ void DoIncomingDcc(HANDLE hConnection, DWORD dwRemoteIP, void * p1) // ident server -void strdel(char* parBuffer, int len) -{ - char *p; - for (p = parBuffer + len; *p != 0; p++) - p[-len] = *p; - - p[-len] = '\0'; -} - void DoIdent(HANDLE hConnection, DWORD, void* extra) { CIrcProto *ppro = (CIrcProto*)extra; diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 77534292f5..1e671818ea 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -134,15 +134,6 @@ TCHAR* JabberPrepareJid(LPCTSTR jid) return szNewJid;
}
-void strdel(char* parBuffer, int len)
-{
- char* p;
- for (p = parBuffer + len; *p != 0; p++)
- p[-len] = *p;
-
- p[-len] = '\0';
-}
-
void __stdcall JabberUrlDecodeW(WCHAR *str)
{
if (str == NULL)
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h index bab4c80f57..5645dc0090 100644 --- a/protocols/JabberG/src/stdafx.h +++ b/protocols/JabberG/src/stdafx.h @@ -759,10 +759,6 @@ bool JabberReadXep203delay(HXML node, time_t &msgTime); int UIEmulateBtnClick(HWND hwndDlg, UINT idcButton);
void UIShowControls(HWND hwndDlg, int *idList, int nCmdShow);
-//---- jabber_xml.cpp -------------------------------------------------------------------
-
-void strdel(char* parBuffer, int len);
-
//---- jabber_userinfo.cpp --------------------------------------------------------------
void JabberUserInfoUpdate(MCONTACT hContact);
|