The this->data member is never NULL

This commit is contained in:
Tobias Brunner committed 2012-09-28 17:09:16 +02:00
1 parent 9a1ba213f4
commit 3dcffed682
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ METHOD(listener_t, message, bool,
data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
data = chunk_from_hex(data, NULL);
}
else if (this->data && strlen(this->data))
else if (strlen(this->data))
{
data = chunk_clone(chunk_create(this->data, strlen(this->data)));
}
+1 -1
View File
@@ -80,7 +80,7 @@ METHOD(listener_t, ike_updown, bool,
data = chunk_skip(chunk_create(this->data, strlen(this->data)), 2);
data = chunk_from_hex(data, NULL);
}
else if (this->data && strlen(this->data))
else if (strlen(this->data))
{
data = chunk_clone(chunk_create(this->data, strlen(this->data)));
}