Fix bug that could have caused infinite loop in ofp_print_actions().
authorBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:27:23 +0000 (15:27 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:27:23 +0000 (15:27 -0800)
commitdca0331b68e9847846e233c7aa7569b6fc2f4091
tree5500088d772f20abdd20f2198691ac2455d146b7
parenta7fab9cd42928d26450b95cb6b900eb00a719531
Fix bug that could have caused infinite loop in ofp_print_actions().

Found by -Wextra noticing that len < 0 is always false.
lib/ofp-print.c