do not call recommendations if recs does not exist

This commit is contained in:
Andreas Steffen
2011-05-14 16:36:05 +02:00
parent cc546c3ce6
commit 706ae005c6
+1 -1
View File
@@ -396,7 +396,7 @@ METHOD(tls_t, build, status_t,
/* Do not allow any asynchronous IMCs or IMVs to add additional messages */
this->mutex->lock(this->mutex);
if (this->is_server && !this->delete_state &&
if (this->recs && !this->delete_state &&
(!this->batch || this->fatal_error))
{
check_and_build_recommendation(this);