Fixed return values of several functions (e.g. return FALSE for pointer types).

This commit is contained in:
Tobias Brunner
2012-05-31 17:39:04 +02:00
parent 060b508e0e
commit 79d5c4f06b
8 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ static bool get_bool_attribute(private_imc_agent_t *this, TNC_ConnectionID id,
return this->get_attribute &&
this->get_attribute(this->id, id, attribute_id, 4, buf, &len) ==
TNC_RESULT_SUCCESS && len == 1 && *buf == 0x01;
}
}
/**
* Read a string attribute