aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/unistim
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2007-09-24 19:56:17 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2007-09-24 19:56:17 +0000
commit19aa309fea03a143bc5596c3b19b2a5e98a9ba15 (patch)
tree74f1fa96202d277ab596a043243535dec25f6bd8 /plugins/unistim
parentaf5de71e06a5f57ca03ea747131ab1bcac88c0c2 (diff)
From Don Newton:
added null termination to uftp and cleaned comments in packet-unistim.c svn path=/trunk/; revision=22940
Diffstat (limited to 'plugins/unistim')
-rw-r--r--plugins/unistim/packet-unistim.c6
-rw-r--r--plugins/unistim/uftp.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c
index eba58ed769..c2f0407d75 100644
--- a/plugins/unistim/packet-unistim.c
+++ b/plugins/unistim/packet-unistim.c
@@ -694,7 +694,8 @@ dissect_broadcast_switch(proto_tree *msg_tree,
offset+=1;
break;
case 0x03:
- /*Set Default Character Table Config *//* UGLY may work may not*/
+ /*Set Default Character Table Config */
+ /* UGLY may work may not*/
proto_tree_add_item(msg_tree,hf_generic_data,tvb,offset,msg_len,FALSE);
offset+=msg_len;
break;
@@ -1920,7 +1921,8 @@ dissect_audio_switch(proto_tree *msg_tree,packet_info *pinfo,
offset+=1;
break;
case 0x01:
- /*Query Supervisor Headset Status*//*done*/
+ /*Query Supervisor Headset Status*/
+ /*done*/
break;
case 0x02:
/*Audio Manager Options*/
diff --git a/plugins/unistim/uftp.h b/plugins/unistim/uftp.h
index 75ad79f8f1..f2c62bf25f 100644
--- a/plugins/unistim/uftp.h
+++ b/plugins/unistim/uftp.h
@@ -39,7 +39,8 @@ static const value_string uftp_commands[]={
{0x02,"File Data Block"},
{0x80,"Connection Request"},
{0x81,"Connection Details"},
- {0x82,"Flow Control Off"}
+ {0x82,"Flow Control Off"},
+ {0,NULL}
};
#endif