diff options
author | paul <paul> | 2005-03-14 17:35:52 +0000 |
---|---|---|
committer | paul <paul> | 2005-03-14 17:35:52 +0000 |
commit | 08884d89201e20c876b39f65b150d939973f7cba (patch) | |
tree | 3cf002f3d4cde7100805c8d89e25246bc6b48c2b /lib/vector.h | |
parent | f616467b2a3c2501a02d03cf1d9937b980d617c8 (diff) | |
download | quagga-08884d89201e20c876b39f65b150d939973f7cba.tar.bz2 quagga-08884d89201e20c876b39f65b150d939973f7cba.tar.xz |
2005-03-14 Paul Jakma <paul.jakma@sun.com>
* command.c: (sort_node) use vector_max instead of referencing
(struct vector *)->max directly. Test that vector_max is > 0
before using it to calculate an index.
Fixup vector loop to make main body conditional on vector slot
not being empty.
(cmd_cmdsize) Fixup vector loop to make main body conditional on
vector slot not being empty.
(cmd_filter_by_completion) ditto
(cmd_filter_by_string) ditto
(is_cmd_ambiguous) ditto
(cmd_describe_command_real) Change index integers to unsigned.
Test that vector_max is > 0 before using it to calculate an index.
Return immediately with CMD_ERR_NO_MATCH if vline has no
active slots.
Fixup vector loop to make main body conditional on vector slot
not being empty.
(cmd_complete_command_real) ditto.
(cmd_execute_command_strict) Fixup vector loop to be conditional
on non-null slot.
Diffstat (limited to 'lib/vector.h')
0 files changed, 0 insertions, 0 deletions