Wireshark-commits: [Wireshark-commits] master 087afc8: addr_resolv: cosmetic change for flags
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=087afc80c0e6a6f0748107be0a1f549ce705c1a4
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
087afc8 by Peter Wu (peter@xxxxxxxxxxxxx):
addr_resolv: cosmetic change for flags
Reduce some magic numbers and add parentheses,
change ((flags & X) == X) to simply (flags * X),
change tp->flags = tp->flags | x to tp->flags |= x.
Change-Id: Ida2d1aa59a3efc20d5fe6910d7b757277eb7e627
Reviewed-on: https://code.wireshark.org/review/10659
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 47eb321 ui/gtk: fix weird check for axis orientation
adds 087afc8 addr_resolv: cosmetic change for flags
Summary of changes:
epan/addr_resolv.c | 26 +++++++++++++-------------
epan/addr_resolv.h | 10 +++++-----
2 files changed, 18 insertions(+), 18 deletions(-)