summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /protocols/JabberG/jabber_proto.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/jabber_proto.cpp')
-rw-r--r--protocols/JabberG/jabber_proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/jabber_proto.cpp b/protocols/JabberG/jabber_proto.cpp
index 21f067e12e..2457eab7a2 100644
--- a/protocols/JabberG/jabber_proto.cpp
+++ b/protocols/JabberG/jabber_proto.cpp
@@ -1130,7 +1130,7 @@ HANDLE __cdecl CJabberProto::SendFile( HANDLE hContact, const TCHAR* szDescripti
ft->std.ptszFiles = ( TCHAR** ) mir_calloc( sizeof( TCHAR* )* ft->std.totalFiles );
ft->fileSize = ( unsigned __int64* ) mir_calloc( sizeof( unsigned __int64 ) * ft->std.totalFiles );
- for( i=j=0; i < ft->std.totalFiles; i++ ) {
+ for ( i=j=0; i < ft->std.totalFiles; i++ ) {
if ( _tstati64( ppszFiles[i], &statbuf ))
Log( "'%s' is an invalid filename", ppszFiles[i] );
else {
@@ -1565,7 +1565,7 @@ int __cdecl CJabberProto::UserIsTyping( HANDLE hContact, int type )
if ( jcb & JABBER_CAPS_CHATSTATES ) {
m << XATTR( _T("type"), _T("chat")) << XATTRID( SerialNext());
- switch ( type ){
+ switch ( type ) {
case PROTOTYPE_SELFTYPING_OFF:
m << XCHILDNS( _T("paused"), _T(JABBER_FEAT_CHATSTATES));
m_ThreadInfo->send( m );
@@ -1581,7 +1581,7 @@ int __cdecl CJabberProto::UserIsTyping( HANDLE hContact, int type )
if ( item->messageEventIdStr != NULL )
x << XCHILD( _T("id"), item->messageEventIdStr );
- switch ( type ){
+ switch ( type ) {
case PROTOTYPE_SELFTYPING_OFF:
m_ThreadInfo->send( m );
break;