merged tasking branch into trunk

This commit is contained in:
Martin Willi
2007-02-28 14:04:36 +00:00
parent a7a5e834e3
commit c60c7694d2
96 changed files with 8409 additions and 8332 deletions
+2 -8
View File
@@ -58,10 +58,7 @@ struct private_packet_t {
*/
static void set_source(private_packet_t *this, host_t *source)
{
if (this->source)
{
this->source->destroy(this->source);
}
DESTROY_IF(this->source);
this->source = source;
}
@@ -70,10 +67,7 @@ static void set_source(private_packet_t *this, host_t *source)
*/
static void set_destination(private_packet_t *this, host_t *destination)
{
if (this->destination)
{
this->destination->destroy(this->destination);
}
DESTROY_IF(this->destination);
this->destination = destination;
}