Add a "break;" statement to a "default:" clause - the AIX C compiler

apparently doesn't like it when a case label is the last line in a
"switch()" statement.

Fix a spelling error.

svn path=/trunk/; revision=1408
This commit is contained in:
Guy Harris 2000-01-01 21:21:20 +00:00
parent ed23b59fa2
commit d6c6aecdba
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* packet-gryphon.c
* Routines for Gryphon protocol packet disassembly
*
* $Id: packet-gryphon.c,v 1.2 1999/12/26 22:37:39 gerald Exp $
* $Id: packet-gryphon.c,v 1.3 2000/01/01 21:21:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Steve Limkemann <stevelim@dgtech.com>
@ -207,6 +207,7 @@ void dissector(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
case GY_FT_TEXT:
break;
default:
break;
}
if (data < msgend - msgpad) {
i = msgend - msgpad - data;
@ -238,7 +239,7 @@ static const val_str_dsp cmds[] = {
{CMD_BCAST_OFF, "Set broadcasts off", NULL, NULL},
{CMD_CARD_SET_SPEED, "Set channel baud rate", speed, NULL},
{CMD_CARD_GET_SPEED, "Get channel baud rate", NULL, speed},
{CMD_CARD_SET_FILTER, "Set filter (depricated)", cmd_setfilt, NULL},
{CMD_CARD_SET_FILTER, "Set filter (deprecated)", cmd_setfilt, NULL},
{CMD_CARD_GET_FILTER, "Get filter", resp_addfilt, cmd_addfilt},
{CMD_CARD_TX, "Transmit message", decode_data, NULL},
{CMD_CARD_TX_LOOP_ON, "Set transmit loopback on", NULL, NULL},