summaryrefslogtreecommitdiff
path: root/rawshark.c
diff options
context:
space:
mode:
Diffstat (limited to 'rawshark.c')
-rw-r--r--rawshark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rawshark.c b/rawshark.c
index cad08a9afe..7604627a98 100644
--- a/rawshark.c
+++ b/rawshark.c
@@ -1584,8 +1584,8 @@ raw_cf_open(capture_file *cf, const char *fname)
/* Indicate whether it's a permanent or temporary file. */
cf->is_tempfile = FALSE;
- /* If it's a temporary capture buffer file, mark it as not saved. */
- cf->user_saved = FALSE;
+ /* No user changes yet. */
+ cf->unsaved_changes = FALSE;
cf->cd_t = WTAP_FILE_UNKNOWN;
cf->count = 0;