diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-09-29 13:12:57 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-09-29 20:13:35 +0000 |
commit | 90d6219efaa517d4b6478fc055cded9c2915d622 (patch) | |
tree | 7eff43371a47dba31ed21d6d896af420515b42bf /file.c | |
parent | 91030a16aaac8813ab1c5eb7580ef005e70bf5f9 (diff) |
Define the wtap_rec next to the Buffer.
They are used together; put them together.
Change-Id: I13ec1f37a9a141d3717bfde4db6f1b7e501fb794
Reviewed-on: https://code.wireshark.org/review/29928
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2058,6 +2058,7 @@ process_specified_records(capture_file *cf, packet_range_t *range, { guint32 framenum; frame_data *fdata; + wtap_rec rec; Buffer buf; psp_return_t ret = PSP_FINISHED; @@ -2068,7 +2069,6 @@ process_specified_records(capture_file *cf, packet_range_t *range, GTimeVal progbar_start_time; gchar progbar_status_str[100]; range_process_e process_this; - wtap_rec rec; wtap_rec_init(&rec); ws_buffer_init(&buf, 1500); |