diff options
author | Guy Harris <gharris@sonic.net> | 2021-07-07 22:43:29 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-07-08 00:05:35 -0700 |
commit | dd5907d2a3f6d0ac572a76770b43422b0b82c2ab (patch) | |
tree | 88c706f42fc5b21ee0f9d12e949a02f16651a554 /epan/epan.c | |
parent | 6dfa2cb0ae4f15d171da8cf77f2a6e11d35d0d86 (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 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/epan.c b/epan/epan.c index bd17666f79..1eea3d1906 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -449,10 +449,10 @@ epan_new(struct packet_provider_data *prov, } wtap_block_t -epan_get_user_block(const epan_t *session, const frame_data *fd) +epan_get_modified_block(const epan_t *session, const frame_data *fd) { - if (session->funcs.get_user_block) - return session->funcs.get_user_block(session->prov, fd); + if (session->funcs.get_modified_block) + return session->funcs.get_modified_block(session->prov, fd); return NULL; } |