aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q933.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-18 10:11:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-18 10:11:52 +0000
commita39e3a1570b8bd29b5b0f0cf9142aca85b007f7c (patch)
tree9c454cc39449486a445275000e41eec9baa0049d /packet-q933.c
parenta04e58be1060d9e77a8fe816e157333bfe59990f (diff)
Newlines don't belong in format strings for the "proto_tree_add"
routines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10094 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-q933.c')
-rw-r--r--packet-q933.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-q933.c b/packet-q933.c
index 6e9a8369ec..c36c2f27ff 100644
--- a/packet-q933.c
+++ b/packet-q933.c
@@ -2,7 +2,7 @@
* Routines for Q.933 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q933.c,v 1.4 2003/11/03 20:57:36 guy Exp $
+ * $Id: packet-q933.c,v 1.5 2004/02/18 10:11:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -264,7 +264,7 @@ dissect_q933_segmented_message_ie(tvbuff_t *tvb, int offset, int len,
{
if (len != 2) {
proto_tree_add_text(tree, tvb, offset, len,
- "Segmented message: length is %d, should be 2\n", len);
+ "Segmented message: length is %d, should be 2", len);
return;
}
if (tvb_get_guint8(tvb, offset) & 0x80) {
@@ -277,7 +277,7 @@ dissect_q933_segmented_message_ie(tvbuff_t *tvb, int offset, int len,
tvb_get_guint8(tvb, offset) & 0x7F);
}
proto_tree_add_text(tree, tvb, offset + 1, 1,
- "Segmented message type: %u\n", tvb_get_guint8(tvb, offset + 1));
+ "Segmented message type: %u", tvb_get_guint8(tvb, offset + 1));
}
/*