Skip to content

Commit

Permalink
[sgen] Make binary protocol grep work without search addresses.
Browse files Browse the repository at this point in the history
  • Loading branch information
schani committed Apr 16, 2014
1 parent 35f397e commit 713a6d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sgen/sgen-grep-binprot.c
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ main (int argc, char *argv[])
}
}
} else {
gboolean match = FALSE;
gboolean match = num_nums == 0 ? is_match (NULL, type, data) : FALSE;
for (i = 0; i < num_nums; ++i) {
if (is_match ((gpointer) nums [i], type, data)) {
match = TRUE;
Expand Down

0 comments on commit 713a6d2

Please sign in to comment.