aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/wimax/msg_dsc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-08-04 23:14:40 +0000
committerGuy Harris <guy@alum.mit.edu>2009-08-04 23:14:40 +0000
commit6847b0b94d619f2e4092c195573a214a8abdac54 (patch)
treed559a2aeed43de0710fd3c3352e1ed7568330313 /plugins/wimax/msg_dsc.c
parentc9e3f66d144fc36a29ad9a49336002044525a776 (diff)
Put the initializers for the elements of value_string arrays into curly
brackets, so the API checks for non-terminated value_string arrays will not falsely think the arrays are non-terminated. svn path=/trunk/; revision=29299
Diffstat (limited to 'plugins/wimax/msg_dsc.c')
-rw-r--r--plugins/wimax/msg_dsc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/wimax/msg_dsc.c b/plugins/wimax/msg_dsc.c
index 049b33789f..f80839c7c4 100644
--- a/plugins/wimax/msg_dsc.c
+++ b/plugins/wimax/msg_dsc.c
@@ -50,10 +50,10 @@ static gint ett_mac_mgmt_msg_dsc_rsp_decoder = -1;
static gint ett_mac_mgmt_msg_dsc_ack_decoder = -1;
static const value_string vals_dsc_msgs[] = {
- MAC_MGMT_MSG_DSC_REQ, "Dynamic Service Change Request (DSC-REQ)",
- MAC_MGMT_MSG_DSC_RSP, "Dynamic Service Change Response (DSC-RSP)",
- MAC_MGMT_MSG_DSC_ACK, "Dynamic Service Change Acknowledge (DSC-ACK)",
- 0, NULL
+ { MAC_MGMT_MSG_DSC_REQ, "Dynamic Service Change Request (DSC-REQ) }",
+ { MAC_MGMT_MSG_DSC_RSP, "Dynamic Service Change Response (DSC-RSP)" },
+ { MAC_MGMT_MSG_DSC_ACK, "Dynamic Service Change Acknowledge (DSC-ACK)" },
+ { 0, NULL }
};
/* fix fields */