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