Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 087afc8: addr_resolv: cosmetic change for flags

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 27 Sep 2015 17:47:28 +0000 (UTC)
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(-)