| commit | 62bd3ffba5533629d785c56c3b49a5c59051bf48 | [log] [tgz] |
|---|---|---|
| author | guy <guy> | Thu Sep 05 00:43:21 2002 +0000 |
| committer | guy <guy> | Thu Sep 05 00:43:21 2002 +0000 |
| tree | 5aba80d6dad718264b54d1a8b060669f5fa5ba24 | |
| parent | edb0e92cdcaf06168a38e632847b8fd2c0a62a2d [diff] |
Constify. Check for zero-length items in "isakmp_sub0_print()", and return NULL if one is seen. Have "isakmp_sub_print()" check for that and break out of the loop and return NULL if "isakmp_sub0_print()" returns NULL, so we don't loop forever printing the same item. Have callers of "isakmp_sub_print()" check for NULL and return NULL as well. Have "isakmp_sub_print()" take the depth as an argument, rather than have it as a static variable, for cleanliness.