|
@@ -339,14 +339,14 @@ void ISAKlient::thread()
|
|
|
if( 1 )
|
|
|
{
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char nLen = 0;
|
|
|
- klient->getNachrichtEncrypted( &nLen, 1 );
|
|
|
+ unsigned char nLen = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&nLen, 1 );
|
|
|
char *n = new char[ nLen + 1 ];
|
|
|
n[ (int)nLen ] = 0;
|
|
|
if( nLen )
|
|
|
klient->getNachrichtEncrypted( n, nLen );
|
|
|
- char pLen = 0;
|
|
|
- klient->getNachrichtEncrypted( &pLen, 1 );
|
|
|
+ unsigned char pLen = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&pLen, 1 );
|
|
|
char *p = new char[ pLen + 1 ];
|
|
|
p[ (int)pLen ] = 0;
|
|
|
if( pLen )
|
|
@@ -753,8 +753,8 @@ void ISKlient::thread()
|
|
|
break;
|
|
|
}
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
char *name = new char[ len + 1 ];
|
|
|
name[ (int)len ] = 0;
|
|
|
klient->getNachrichtEncrypted( name, len );
|
|
@@ -772,8 +772,8 @@ void ISKlient::thread()
|
|
|
break;
|
|
|
}
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
char *name = new char[ len + 1 ];
|
|
|
name[ (int)len ] = 0;
|
|
|
klient->getNachrichtEncrypted( name, len );
|
|
@@ -837,8 +837,8 @@ void ISKlient::thread()
|
|
|
else
|
|
|
{
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
char *suche = new char[ len + 1 ];
|
|
|
suche[ (int)len ] = 0;
|
|
|
klient->getNachrichtEncrypted( suche, len );
|
|
@@ -859,19 +859,19 @@ void ISKlient::thread()
|
|
|
int accId = list.values[ i * 6 ];
|
|
|
klient->sendeEncrypted( (char*)&accId, 4 );
|
|
|
len = (char)list.values[ i * 6 + 1 ].getLength();
|
|
|
- klient->sendeEncrypted( &len, 1 );
|
|
|
+ klient->sendeEncrypted( (char*)&len, 1 );
|
|
|
klient->sendeEncrypted( list.values[ i * 6 + 1 ], len );
|
|
|
len = (char)list.values[ i * 6 + 2 ].getLength();
|
|
|
- klient->sendeEncrypted( &len, 1 );
|
|
|
+ klient->sendeEncrypted( (char*)&len, 1 );
|
|
|
klient->sendeEncrypted( list.values[ i * 6 + 2 ], len );
|
|
|
len = (char)list.values[ i * 6 + 3 ].getLength();
|
|
|
- klient->sendeEncrypted( &len, 1 );
|
|
|
+ klient->sendeEncrypted( (char*)&len, 1 );
|
|
|
klient->sendeEncrypted( list.values[ i * 6 + 3 ], len );
|
|
|
len = (char)list.values[ i * 6 + 4 ].getLength();
|
|
|
- klient->sendeEncrypted( &len, 1 );
|
|
|
+ klient->sendeEncrypted( (char*)&len, 1 );
|
|
|
klient->sendeEncrypted( list.values[ i * 6 + 4 ], len );
|
|
|
len = (char)list.values[ i * 6 + 5 ].getLength();
|
|
|
- klient->sendeEncrypted( &len, 1 );
|
|
|
+ klient->sendeEncrypted( (char*)&len, 1 );
|
|
|
klient->sendeEncrypted( list.values[ i * 6 + 5 ], len );
|
|
|
}
|
|
|
list.destroy();
|
|
@@ -985,8 +985,8 @@ void ISKlient::thread()
|
|
|
break;
|
|
|
}
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
if( len )
|
|
|
{
|
|
|
char *name = new char[ len + 1 ];
|
|
@@ -1007,8 +1007,8 @@ void ISKlient::thread()
|
|
|
break;
|
|
|
}
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
- klient->getNachrichtEncrypted( &len, 1 );
|
|
|
+ unsigned char len = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
if( len )
|
|
|
{
|
|
|
char *name = new char[ len + 1 ];
|
|
@@ -1494,7 +1494,7 @@ void ISKlient::thread()
|
|
|
if( klientNummer )
|
|
|
{
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char len = 0;
|
|
|
+ unsigned char len = 0;
|
|
|
klient->getNachrichtEncrypted( (char*)&len, 1 );
|
|
|
char *pf = new char[ len + 1 ];
|
|
|
pf[ (int)len ] = 0;
|
|
@@ -1555,8 +1555,8 @@ void ISKlient::thread()
|
|
|
else
|
|
|
{
|
|
|
klient->sendeEncrypted( "\1", 1 );
|
|
|
- char filterLen = 0;
|
|
|
- klient->getNachrichtEncrypted( &filterLen, 1 );
|
|
|
+ unsigned char filterLen = 0;
|
|
|
+ klient->getNachrichtEncrypted( (char*)&filterLen, 1 );
|
|
|
char *filter = new char[ filterLen + 1 ];
|
|
|
filter[ (int)filterLen ] = 0;
|
|
|
if( filterLen )
|