From 95bee83fbc84e1eb13594e9524112ea1ba09c53b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 8 Jul 2021 02:10:31 -0700 Subject: [PATCH] editcap: clean up some comments for consistency. --- editcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editcap.c b/editcap.c index a3cb393b85..145504db7a 100644 --- a/editcap.c +++ b/editcap.c @@ -1972,14 +1972,14 @@ main(int argc, char *argv[]) if (snaplen != 0) { /* Limit capture length to snaplen */ if (rec->rec_header.packet_header.caplen > snaplen) { - /* Copy and change rather than modify returned wtap_rec */ + /* Copy and change rather than modify returned rec */ temp_rec = *rec; temp_rec.rec_header.packet_header.caplen = snaplen; rec = &temp_rec; } /* If -L, also set reported length to snaplen */ if (adjlen && rec->rec_header.packet_header.len > snaplen) { - /* Copy and change rather than modify returned phdr */ + /* Copy and change rather than modify returned rec */ temp_rec = *rec; temp_rec.rec_header.packet_header.len = snaplen; rec = &temp_rec;