Changeset 2d127f75cf7a63e7d81f39371ed70b451b2e6597

Show
Ignore:
Timestamp:
07/25/12 19:18:18 (2 years ago)
Author:
Theo Schlossnagle <jesus@lethargy.org>
git-committer:
Theo Schlossnagle <jesus@lethargy.org> 1343243898 -0700
git-parent:

[c75dd6db81c100da919bdda1ec3793d8a1b65af8], [53fbb04985000b49daa6de2db9feaf62d606e58b]

git-author:
Theo Schlossnagle <jesus@lethargy.org> 1343243898 -0700
Message:

Merge pull request #93 from pquerna/check_test_init_module_name

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 */