diff options
author | Gerald Combs <gerald@wireshark.org> | 2003-06-05 21:54:54 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2003-06-05 21:54:54 +0000 |
commit | 37521e54a57ed0f4f41fe505a3e8d2feab4e9fcf (patch) | |
tree | 024bdff4ce683169ff5e0a3968840692afa6793f | |
parent | 1aa63490c7963c43a2f84ee1f58f2122f1e3da96 (diff) | |
download | wireshark-37521e54a57ed0f4f41fe505a3e8d2feab4e9fcf.tar.gz wireshark-37521e54a57ed0f4f41fe505a3e8d2feab4e9fcf.tar.bz2 wireshark-37521e54a57ed0f4f41fe505a3e8d2feab4e9fcf.zip |
Use "=" instead of "==" in an assignment.
svn path=/trunk/; revision=7792
-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; |