|
@@ -38,8 +38,10 @@ Answer *PostRequest::execute() const
|
|
|
do {
|
|
|
char buff[ 2 ];
|
|
|
buff[ 1 ] = 0;
|
|
|
- httpK.getNachricht( buff, 1 );
|
|
|
- answer += buff;
|
|
|
+ if( httpK.getNachricht( buff, 1 ) )
|
|
|
+ answer += buff;
|
|
|
+ else
|
|
|
+ break;
|
|
|
} while( httpK.hatNachricht( 0 ) );
|
|
|
return new Answer( answer );
|
|
|
}
|