DCT2000: change switch to if - I'm surprised it compiled at all

Change-Id: If08fa66fbc21fc078f12866c868dd269aa72e319
Reviewed-on: https://code.wireshark.org/review/11640
Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
Martin Mathieson 2015-11-08 08:30:54 -08:00
parent 44644ed4e1
commit 7d8a094acb
1 changed files with 3 additions and 3 deletions

View File

@ -521,9 +521,9 @@ static gboolean find_sctpprim_variant3_data_offset(tvbuff_t *tvb, int *data_offs
offset += 2;
/* Only interested in data requests or indications */
switch ((top_tag != 0x0400) && /* SendDataReq */
(top_tag != 0x6200)) { /* DataInd */
return FALSE;
if ((top_tag != 0x0400) && /* SendDataReq */
(top_tag != 0x6200)) { /* DataInd */
return FALSE;
}
/* Overall length field is next 2 bytes */