diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-08-26 17:51:44 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-08-26 17:51:44 +0000 |
commit | e84c7f85469657fc912adcd3c85d04e58f62487a (patch) | |
tree | 316586cfceecbf136cad7d13c1b949f13cc245ea /packet-data.c | |
parent | 254f20dc8c0db0cbe89e8281969a03407babfe97 (diff) |
Properly pluralize "bytes" in the detail line for "dissect_data()".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@586 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-data.c')
-rw-r--r-- | packet-data.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-data.c b/packet-data.c index ef719327c3..e5c632a7f5 100644 --- a/packet-data.c +++ b/packet-data.c @@ -2,7 +2,7 @@ * Routines for raw data (default case) * Gilbert Ramirez <gram@verdict.uthscsa.edu> * - * $Id: packet-data.c,v 1.10 1999/07/29 05:46:53 gram Exp $ + * $Id: packet-data.c,v 1.11 1999/08/26 17:51:44 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -45,7 +45,8 @@ dissect_data(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) { if (fd->cap_len > offset && tree) { proto_tree_add_item_format(tree, proto_data, offset, - END_OF_FRAME, NULL, "Data (%d bytes)", END_OF_FRAME); + END_OF_FRAME, NULL, "Data (%d byte%s)", END_OF_FRAME, + plurality(END_OF_FRAME, "", "s")); } } |