Compile error fixed.

This commit is contained in:
Tobias Brunner
2012-03-20 17:30:41 +01:00
parent 7f56cf1a65
commit 354ac9579f
+2 -1
View File
@@ -1488,6 +1488,8 @@ static bool is_connectivity_check(private_message_t *this, payload_t *payload)
static status_t parse_payloads(private_message_t *this)
{
payload_type_t type = this->first_payload;
payload_t *payload;
status_t status;
while (type != NO_PAYLOAD)
{
@@ -1678,7 +1680,6 @@ METHOD(message_t, parse_body, status_t,
private_message_t *this, aead_t *aead)
{
status_t status = SUCCESS;
payload_t *payload;
char str[BUF_LEN];
DBG2(DBG_ENC, "parsing body of message, first payload is %N",