URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4348d4dd34d0efaa5eb9e42969243a309b7115de
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
4348d4d by Guy Harris (guy@xxxxxxxxxxxx):
Type cleanups.
dfilter_macro_apply_recurse() returns either NULL or a pointer to
freshly-allocated memory, so it doesn't return a const pointer.
dfilter_macro_apply() calls dfilter_macro_apply_recurse(), so it doesn't
return a const pointer, either.
In dfilter_compile(), have separate variables for the filter handed in
and the macro-expanded filter, the former being const gchar * and the
latter being gchar *.
Change-Id: I191549bf0ff6c09c1278a98432a907c93d5e0e74
Reviewed-on: https://code.wireshark.org/review/12446
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from b3fa4f3 Undoing base-64 encoding is not decryption.
adds 4348d4d Type cleanups.
Summary of changes:
epan/dfilter/dfilter-macro.c | 8 ++++----
epan/dfilter/dfilter-macro.h | 2 +-
epan/dfilter/dfilter.c | 9 +++++----
3 files changed, 10 insertions(+), 9 deletions(-)