Use "tvb_format_text()" to extract and format the buddy name string in
authorGuy Harris <guy@alum.mit.edu>
Wed, 5 Jan 2005 09:41:20 +0000 (09:41 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 5 Jan 2005 09:41:20 +0000 (09:41 -0000)
commit51014ac6991f7e1242292ae634dc4a2d29752c05
tree7d5ba6995d7beaf307f5dab7b62187bcb636a61b
parenta79cd5b95598d6757a660e587afc61d34229e25f
Use "tvb_format_text()" to extract and format the buddy name string in
the top-level item for the buddy name, rather than extracting the string
into a mallocated buffer (and not freeing it...).

Put all the code to put stuff into the protocol tree inside "if(tree)".

svn path=/trunk/; revision=12950
epan/dissectors/packet-aim.c