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>
Tue, 13 Jan 2009 01:15:45 +0000 (17:15 -0800)
commit20360221fb53e0bda3570ae2e3a89536620345c4
treef58005ca40de631c02f497073eb8fe7533729322
parentfe8ad0db1bc8654b87a8c70f381810288cc71e26
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