(xdmeta): Fix the printing of the number of rows dumped.

Incorrectly included the skipped rows.
This commit is contained in:
Ron Koenderink 2005-11-04 23:32:05 +00:00
parent a4fcd52cd0
commit 0d0800f4ac

View file

@ -250,6 +250,7 @@ xdmeta(int type)
{
struct castr *ca = ef_cadef(type);
int i;
int n = 0;
if (!ca)
return RET_SYN;
@ -262,10 +263,11 @@ xdmeta(int type)
if (ca[i].ca_flags & NSC_EXTRA)
continue;
xdflds(mdchr_ca, &ca[i]);
n++;
pr("\n");
}
xdftr(i);
xdftr(n);
return RET_OK;
}