diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:42:33 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-26 22:42:33 +0000 |
commit | 2c9a9bfed50529645b5b0d5602b2a94b0b5ef900 (patch) | |
tree | c37308fe848836674bab8ba25a00a7b87079fee0 /protocols/AimOscar/src/client.cpp | |
parent | a7ecea148c70da66f744a0036f985bc97804d8b4 (diff) |
unified project for AIM
git-svn-id: http://svn.miranda-ng.org/main/trunk@13182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/client.cpp')
-rw-r--r-- | protocols/AimOscar/src/client.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/AimOscar/src/client.cpp b/protocols/AimOscar/src/client.cpp index 69577e8cc2..a766db7187 100644 --- a/protocols/AimOscar/src/client.cpp +++ b/protocols/AimOscar/src/client.cpp @@ -16,7 +16,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "aim.h"
+#include "stdafx.h"
int CAimProto::aim_send_connection_packet(HANDLE hServerConn,unsigned short &seqno,char *buf)
{
@@ -414,8 +414,8 @@ int CAimProto::aim_add_contact(HANDLE hServerConn, unsigned short &seqno, const {
unsigned short offset=0;
unsigned short sn_length=(unsigned short)strlen(sn);
- unsigned short nick_length = (unsigned short)_strlens(nick);
- unsigned short note_length = (unsigned short)_strlens(note);
+ unsigned short nick_length = (unsigned short)mir_strlen(nick);
+ unsigned short note_length = (unsigned short)mir_strlen(note);
unsigned short tlv_len = nick || note ? TLV_HEADER_SIZE * 2 + nick_length + note_length : 0;
char* buf=(char*)alloca(SNAC_SIZE + sn_length + 10 + tlv_len);
@@ -458,8 +458,8 @@ int CAimProto::aim_mod_buddy(HANDLE hServerConn, unsigned short &seqno, const ch {
unsigned short offset=0;
unsigned short sn_length = (unsigned short)strlen(sn);
- unsigned short nick_length = (unsigned short)_strlens(nick);
- unsigned short note_length = (unsigned short)_strlens(note);
+ unsigned short nick_length = (unsigned short)mir_strlen(nick);
+ unsigned short note_length = (unsigned short)mir_strlen(note);
unsigned short tlv_len = TLV_HEADER_SIZE * 2 + nick_length + note_length;
char* buf=(char*)alloca(SNAC_SIZE+sn_length+10+tlv_len);
@@ -625,7 +625,7 @@ int CAimProto::aim_send_file(HANDLE hServerConn, unsigned short &seqno, }
-int CAimProto::aim_file_ad(HANDLE hServerConn,unsigned short &seqno,char* sn, char* icbm_cookie, bool deny, unsigned short max_ver)
+int CAimProto::aim_file_ad(HANDLE hServerConn,unsigned short &seqno,char* sn, char* icbm_cookie, bool deny, unsigned short)
{
unsigned short frag_offset=0;
char msg_frag[10+AIM_CAPS_LENGTH+TLV_HEADER_SIZE*2+6];
@@ -742,7 +742,7 @@ int CAimProto::aim_set_avatar_hash(HANDLE hServerConn, unsigned short &seqno, ch return aim_sendflap(hServerConn,0x02,offset,buf,seqno);
}
-int CAimProto::aim_delete_avatar_hash(HANDLE hServerConn, unsigned short &seqno, char flags, unsigned short bart_type, unsigned short & id)
+int CAimProto::aim_delete_avatar_hash(HANDLE hServerConn, unsigned short &seqno, char /*flags*/, unsigned short bart_type, unsigned short & id)
{
unsigned short offset=0;
|