Changeset ce75d5dae428c24850d83c11a1ccfd80609aace4

Show
Ignore:
Timestamp:
09/15/11 14:39:49 (3 years ago)
Author:
gdusbabek <gdusbabek@gmail.com>
git-committer:
gdusbabek <gdusbabek@gmail.com> 1316097589 -0500
git-parent:

[e2422ef3902d44137a67bacf12c21559325989c4]

git-author:
gdusbabek <gdusbabek@gmail.com> 1316097589 -0500
Message:

fix macros

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check.h

    re2422ef rce75d5d  
    163163#define NOIT_CHECK_SHOULD_RESOLVE(a) ((a)->flags & NP_RESOLVE) 
    164164/* It is resolved if it is resolved or never needed to be resolved */ 
    165 #define NOIT_CHECK_RESOLVED(a) (((a)->flags & NP_RESOLVED) \ 
    166                                 || (((a)->flags & NP_RESOLVE) == 0)) 
    167 #define NOIT_CHECK_PREFER_V6(a) (((a)->flags & NP_PREFER_IPV6) \ 
    168                                  == NP_PREFER_IPV6) 
    169 #define NOIT_CHECK_SINGLE_RESOLVE(a) (((a)->flags & NP_SINGLE_RESOLVE) \ 
    170                                       == NP_SINGLE_RESOLVE) 
     165#define NOIT_CHECK_RESOLVED(a) (((a)->flags & NP_RESOLVED) || (((a)->flags & NP_RESOLVE) == 0)) 
     166#define NOIT_CHECK_PREFER_V6(a) ((a)->flags & NP_PREFER_IPV6) 
     167#define NOIT_CHECK_SINGLE_RESOLVE(a) ((a)->flags & NP_SINGLE_RESOLVE) 
    171168 
    172169API_EXPORT(void) noit_poller_init();