bugfix error-message

This commit is contained in:
Enno Rehling 2004-03-06 18:09:35 +00:00
parent 7acf810290
commit dc2fd6ec7d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ a_add(attrib ** pa, attrib * a)
}
if (a->type->flags & ATF_UNIQUE && *find) {
if ((*find)->type == a->type) {
log_printf(stderr, "duplicate attribute: %s\n", a->type->name);
log_error(("duplicate attribute: %s\n", a->type->name));
return a;
}
}