- code cleanup of encoding package

This commit is contained in:
Martin Willi
2005-12-06 13:44:22 +00:00
parent 59de50868b
commit c3dc864eaa
46 changed files with 341 additions and 244 deletions
+1 -2
View File
@@ -257,7 +257,7 @@ static void set_initiator (private_id_payload_t *this,bool is_initiator)
/**
* Implementation of id_payload_t.get_identification.
*/
static identification_t * get_identification (private_id_payload_t *this)
static identification_t *get_identification (private_id_payload_t *this)
{
return identification_create_from_encoding(this->id_type,this->id_data);
}
@@ -271,7 +271,6 @@ static void destroy(private_id_payload_t *this)
{
allocator_free_chunk(&(this->id_data));
}
allocator_free(this);
}