Changeset 53fbb04985000b49daa6de2db9feaf62d606e58b

Show
Ignore:
Timestamp:
07/25/12 19:14:51 (2 years ago)
Author:
Paul Querna <pquerna@apache.org>
git-committer:
Paul Querna <pquerna@apache.org> 1343243691 +0000
git-parent:

[c75dd6db81c100da919bdda1ec3793d8a1b65af8]

git-author:
Ryan Phillips <ryan.phillips@rackspace.com> 1324394551 -0600
Message:

init module name before check_update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/check_test.c

    r234ba83 r53fbb04  
    156156  flags |= noit_calc_rtype_flag(resolve_rtype); 
    157157  c = calloc(1, sizeof(*c)); 
     158  c->module = strdup(module); 
    158159  noit_check_update(c, target, name, filterset, 
    159160                    conf_hash, moptions, 0, timeout, NULL, flags); 
    160   c->module = strdup(module); 
    161161  uuid_generate(c->checkid); 
    162162  c->flags |= NP_DISABLED; /* this is hack to know we haven't run it yet */