aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-08 20:29:25 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-09 04:30:44 +0000
commit228b122dc973916b7ee532567945845c50ff27fa (patch)
treeb3a4fa9517b58de50951e30604ab54ccdb9c81d9 /wiretap/wtap.h
parent9425d6e9014895fca1301a2d4f5689cead37f1a2 (diff)
Rename ft_specific_data to reflect what we're actually using it for.
It's only being used as a working buffer to hold the raw options data we read in. Change-Id: I17b812e447f575ad92394b9f957658fc655cdf8e Reviewed-on: https://code.wireshark.org/review/25701 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 09e80b0bf2..2072caf05c 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1286,9 +1286,10 @@ typedef struct {
gboolean has_comment_changed; /* TRUE if the comment has been changed. Currently only valid while dumping. */
/*
- * XXX - what is this used for?
+ * We use a Buffer so that we don't have to allocate and free
+ * a buffer for the options for each record.
*/
- Buffer ft_specific_data; /* file-type specific data */
+ Buffer options_buf; /* file-type specific data */
} wtap_rec;
/*