Don't print an empty line when printing mapping arrays.

MFC after: 3 days.
This commit is contained in:
tuexen 2010-11-12 20:46:33 +00:00
parent 29f904bd05
commit 48df378ef0

View File

@ -1212,8 +1212,6 @@ sctp_print_mapping_array(struct sctp_association *asoc)
printf("Renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size - limit);
for (i = 0; i < limit; i++) {
printf("%2.2x%c", asoc->mapping_array[i], ((i + 1) % 16) ? ' ' : '\n');
if (((i + 1) % 16) == 0)
printf("\n");
}
if (limit % 16)
printf("\n");