]> The Tcpdump Group git mirrors - tcpdump/commit
Constify.
authorguy <guy>
Thu, 5 Sep 2002 00:43:21 +0000 (00:43 +0000)
committerguy <guy>
Thu, 5 Sep 2002 00:43:21 +0000 (00:43 +0000)
commit62bd3ffba5533629d785c56c3b49a5c59051bf48
tree5aba80d6dad718264b54d1a8b060669f5fa5ba24
parentedb0e92cdcaf06168a38e632847b8fd2c0a62a2d
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.
print-isakmp.c