Skip to content

Commit

Permalink
Merge branch 'nd/attr-debug-fix'
Browse files Browse the repository at this point in the history
Fix debugging support that was broken in earlier change.

* nd/attr-debug-fix:
  attr: make it build with DEBUG_ATTR again
  • Loading branch information
Junio C Hamano committed Jan 18, 2013
2 parents 3ab4c54 + 712efb1 commit 3a39fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ static int fill_one(const char *what, struct match_attr *a, int rem)

if (*n == ATTR__UNKNOWN) {
debug_set(what,
a->is_macro ? a->u.attr->name : a->u.pattern,
a->is_macro ? a->u.attr->name : a->u.pat.pattern,
attr, v);
*n = v;
rem--;
Expand Down

0 comments on commit 3a39fa7

Please sign in to comment.