Author: tuexen
Date: Fri Nov 12 20:46:33 2010
New Revision: 215199
URL: http://svn.freebsd.org/changeset/base/215199

Log:
  Don't print an empty line when printing mapping arrays.
  
  MFC after: 3 days.

Modified:
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Fri Nov 12 20:45:21 2010        (r215198)
+++ head/sys/netinet/sctputil.c Fri Nov 12 20:46:33 2010        (r215199)
@@ -1212,8 +1212,6 @@ sctp_print_mapping_array(struct sctp_ass
        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");
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to