aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smtp.c
diff options
context:
space:
mode:
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-13 21:34:28 +0000
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-13 21:34:28 +0000
commitc3d4b76f3576cb73fdb23fc3921948c5a3375c08 (patch)
treed7075be8e004cc316e2e87d695012482960173ae /packet-smtp.c
parentd0da3fd014e054d71ac079fffbf1f04e3de89f53 (diff)
Make tvb_get_ptr() return 'const guint8*', and clean up all the
usages of tvb_get_ptr(). packet-ieee80211.c still has one bad usage, in which it *does* modify the tvbuff's data. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3128 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-smtp.c')
-rw-r--r--packet-smtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smtp.c b/packet-smtp.c
index 3ad8e2be84..781ee12dfa 100644
--- a/packet-smtp.c
+++ b/packet-smtp.c
@@ -1,7 +1,7 @@
/* packet-smtp.c
* Routines for SMTP packet disassembly
*
- * $Id: packet-smtp.c,v 1.15 2001/01/25 06:14:14 guy Exp $
+ * $Id: packet-smtp.c,v 1.16 2001/03/13 21:34:23 gram Exp $
*
* Copyright (c) 2000 by Richard Sharpe <rsharpe@ns.aus.com>
*
@@ -167,7 +167,7 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
conversation_t *conversation;
struct smtp_request_key request_key, *new_request_key;
struct smtp_request_val *request_val;
- char *line;
+ const char *line;
int linelen;
gboolean eom_seen = FALSE;
gint next_offset;