diff options
author | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-06-05 21:54:54 +0000 |
---|---|---|
committer | gerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7> | 2003-06-05 21:54:54 +0000 |
commit | b78f22dc721d53b454a2f1e5e98e68e7ace5bb1c (patch) | |
tree | 024bdff4ce683169ff5e0a3968840692afa6793f | |
parent | ff4347e856246613ff7b1ee9b23b5396459d7b09 (diff) |
Use "=" instead of "==" in an assignment.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7792 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/proto.c | 4 |
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; |