- changed allocation behavior

This commit is contained in:
Martin Willi
2005-11-29 08:08:03 +00:00
parent ed37dee61d
commit df3c59d088
47 changed files with 292 additions and 291 deletions
+3 -4
View File
@@ -527,16 +527,15 @@ static status_t generate(private_message_t *this, crypter_t *crypter, signer_t*
}
}
/* colen packet for caller */
this->packet->clone(this->packet, packet);
/* clone packet for caller */
*packet = this->packet->clone(this->packet);
this->logger->log(this->logger, CONTROL, "message generated successfully");
return SUCCESS;
}
/**
* Implements message_t's parse_header function.
* See #message_s.parse_header.
* Implements message_t.parse_header.
*/
static status_t parse_header(private_message_t *this)
{