aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-07-07 22:43:29 -0700
committerGuy Harris <gharris@sonic.net>2021-07-08 00:05:35 -0700
commitdd5907d2a3f6d0ac572a76770b43422b0b82c2ab (patch)
tree88c706f42fc5b21ee0f9d12e949a02f16651a554 /editcap.c
parent6dfa2cb0ae4f15d171da8cf77f2a6e11d35d0d86 (diff)
Consistently refer to blocks that have been modified as "modified".
"User" sounds as if the blocks belong to the user; at most, the current user might have modified them directly, but they might also have, for example, run a Lua script that, unknown to them, modified comments. Also, a file might have "user comments" added by a previous user, who them wrote the file and and provided it to the current user. "Modified" seems a bit clearer than "changed".
Diffstat (limited to 'editcap.c')
-rw-r--r--editcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editcap.c b/editcap.c
index 851dca5561..a3cb393b85 100644
--- a/editcap.c
+++ b/editcap.c
@@ -2186,12 +2186,12 @@ main(int argc, char *argv[])
temp_rec = *rec;
/* The comment is not modified by dumper, cast away. */
wtap_block_add_string_option(rec->block, OPT_COMMENT, (char *)comment, strlen((char *)comment));
- temp_rec.has_block_changed = TRUE;
+ temp_rec.block_was_modified = TRUE;
rec = &temp_rec;
} else {
/* Copy and change rather than modify returned rec */
temp_rec = *rec;
- temp_rec.has_block_changed = FALSE;
+ temp_rec.block_was_modified = FALSE;
rec = &temp_rec;
}
}