aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2003-06-05 21:54:54 +0000
committerGerald Combs <gerald@wireshark.org>2003-06-05 21:54:54 +0000
commit37521e54a57ed0f4f41fe505a3e8d2feab4e9fcf (patch)
tree024bdff4ce683169ff5e0a3968840692afa6793f /epan/proto.c
parent1aa63490c7963c43a2f84ee1f58f2122f1e3da96 (diff)
Use "=" instead of "==" in an assignment.
svn path=/trunk/; revision=7792
Diffstat (limited to 'epan/proto.c')
-rw-r--r--epan/proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 5508ed824c..f1c6835248 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -1,7 +1,7 @@
/* proto.c
* Routines for protocol tree
*
- * $Id: proto.c,v 1.88 2003/06/05 03:57:38 guy Exp $
+ * $Id: proto.c,v 1.89 2003/06/05 21:54:54 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -758,7 +758,7 @@ proto_tree_add_item(proto_tree *tree, int hfindex, tvbuff_t *tvb,
CLEANUP_PUSH(g_free, string);
tvb_memcpy(tvb, string, start, length);
- string[length] == '\0';
+ string[length] = '\0';
CLEANUP_POP;
new_fi->length = length;