fixed identification_t clone to apply function pointers

This commit is contained in:
Martin Willi committed 2006-06-23 13:20:17 +00:00
1 parent 4b24dd2d7d
commit eecb2da87d
1 file changed
+3
+3
View File
@@ -786,6 +786,9 @@ static identification_t *clone(private_identification_t *this)
clone->string = malloc(strlen(this->string) + 1);
strcpy(clone->string, this->string);
clone->public.equals = this->public.equals;
clone->public.belongs_to = this->public.belongs_to;
return &clone->public;
}