Changeset 6033f87e442f369d5fbf40e27d9a1755e0d6ecce

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

[ce75d5dae428c24850d83c11a1ccfd80609aace4]

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

remove uneeded resolve_rtype and cleanup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_check_rest.c

    re2422ef r6033f87  
    247247                              const char **error) { 
    248248  xmlNodePtr root, tl, an; 
    249   int name=0, module=0, target=0, resolve_rtype=0, period=0, timeout=0; 
    250   int filterset=0; 
     249  int name=0, module=0, target=0, period=0, timeout=0, filterset=0; 
    251250  *a = *c = NULL; 
    252251  root = xmlDocGetRootElement(doc); 
     
    291290          tmp = xmlNodeGetContent(an); 
    292291          invalid = strcmp((char *)tmp, PREFER_IPV4) && 
    293                     strcmp((char *)tmp,PREFER_IPV6) && 
     292                    strcmp((char *)tmp, PREFER_IPV6) && 
    294293                    strcmp((char *)tmp, FORCE_IPV4) && 
    295294                    strcmp((char *)tmp, FORCE_IPV6); 
     
    299298            return 0; 
    300299          } 
    301           resolve_rtype = 1; 
    302300        } 
    303301        else CHECK_N_SET(period) {