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:
parent
44644ed4e1
commit
7d8a094acb
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue