Permalink
Browse files

prop/nf: Fix issue when we increaded max sort terms to 4

  • Loading branch information...
1 parent 1b771be commit 7f3240f405c0591a372f824a108f03cda41a4f00 @andoma committed Oct 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/prop/prop_nodefilter.c
View
3 src/prop/prop_nodefilter.c
@@ -387,7 +387,8 @@ nf_insert_node(prop_nf_t *nf, nfnode_t *nfn)
if(nfn->sortkey_type[0] == SORTKEY_NONE &&
nfn->sortkey_type[1] == SORTKEY_NONE &&
- nfn->sortkey_type[2] == SORTKEY_NONE) {
+ nfn->sortkey_type[2] == SORTKEY_NONE &&
+ nfn->sortkey_type[3] == SORTKEY_NONE) {
b = TAILQ_NEXT(nfn, in_link);

0 comments on commit 7f3240f

Please sign in to comment.