diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-08-08 15:05:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-08-08 22:06:27 +0000 |
commit | 01f2e2b2012e09210104910646feee98128b458f (patch) | |
tree | e0124cda8c631ca321d7c6ce65c9fad83d7c18ee /epan/addr_resolv.c | |
parent | 3bcd0e142a3540ed8fa7a339728d0c10bacadcc8 (diff) |
We really only need one range_foreach routine.
Rename range_foreach_r() to range_foreach(), getting rid of the old
range_foreach().
If your callback doesn't require an additional argument, just pass NULL
when calling range_foreach(), and declare the argument as unused.
Change-Id: I49a56f90610e39cf2ddc398c9e30ed11a6ca90db
Reviewed-on: https://code.wireshark.org/review/23025
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r-- | epan/addr_resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index 26366fd40d..7fcc266fcc 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -522,7 +522,7 @@ parse_service_line (char *line) } cb_data.service = service; cb_data.proto = proto; - range_foreach_r(port_rng, add_serv_port_cb, &cb_data); + range_foreach(port_rng, add_serv_port_cb, &cb_data); } wmem_free (NULL, port_rng); |