- return value cleanup

This commit is contained in:
Martin Willi
2005-11-28 20:29:47 +00:00
parent 3fe058703f
commit d048df5cab
85 changed files with 1086 additions and 2680 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ static status_t clone (private_packet_t *this, packet_t **clone)
if (this->public.destination != NULL)
{
this->public.destination->clone(this->public.destination, &(other->destination));
other->destination = this->public.destination->clone(this->public.destination);
}
else {
other->destination = NULL;
@@ -84,7 +84,7 @@ static status_t clone (private_packet_t *this, packet_t **clone)
if (this->public.source != NULL)
{
this->public.source->clone(this->public.source, &(other->source));
other->source = this->public.source->clone(this->public.source);
}
else {
other->source = NULL;