summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/file-gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/file-gif.c b/epan/dissectors/file-gif.c
index 03c47caa5d..68b87d8597 100644
--- a/epan/dissectors/file-gif.c
+++ b/epan/dissectors/file-gif.c
@@ -315,9 +315,9 @@ dissect_gif(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* Check whether we're processing a GIF object */
/* see http://www.w3.org/Graphics/GIF/spec-gif89a.txt section 17 */
- if (!tvb_strneql(tvb, 0, "GIF87a", 6) == 0) {
+ if (tvb_strneql(tvb, 0, "GIF87a", 6) == 0) {
version = GIF_87a;
- } else if (!tvb_strneql(tvb, 0, "GIF89a", 6) == 0) {
+ } else if (tvb_strneql(tvb, 0, "GIF89a", 6) == 0) {
version = GIF_89a;
} else {
/* Not a GIF image! */