use of streq

This commit is contained in:
Andreas Steffen 2006-05-30 11:03:55 +00:00
parent 5e5f0bd4b2
commit c11c43d2c3
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,7 @@ static void log_status(private_ike_sa_t *this, logger_t *logger, char *name)
/* only log if name == NULL or name == connection_name */
if (name)
{
if (strcmp(this->connection->get_name(this->connection), name) != 0)
if (streq(this->connection->get_name(this->connection), name))
{
return;
}