Changeset b0614c34da02c0e3feb1f15373e84746729d693e

Show
Ignore:
Timestamp:
02/11/08 06:47:28 (10 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1202712448 +0000
git-parent:

[833a45eed64e201e6831fcdd66cc1cad152c7fdd]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1202712448 +0000
Message:

be consistent with ` as the IFS for checks

Files:

Legend:

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

    r833a45e rb0614c3  
    202202      if(!parent) { 
    203203        check->flags |= NP_DISABLED; 
    204         noitL(noit_stderr, "Disabling check %s/%s, can't find oncheck %s/%s\n", 
     204        noitL(noit_stderr, "Disabling check %s`%s, can't find oncheck %s`%s\n", 
    205205              check->target, check->name, target, name); 
    206206      } 
     
    413413    report_change = 1; 
    414414 
    415   noitL(noit_error, "%s/%s <- [%s]\n", check->target, check->module, 
     415  noitL(noit_error, "%s`%s <- [%s]\n", check->target, check->name, 
    416416        check->stats.current.status); 
    417417  if(report_change) { 
    418     noitL(noit_error, "%s/%s -> [%s/%s]\n", 
    419           check->target, check->module, 
     418    noitL(noit_error, "%s`%s -> [%s:%s]\n", 
     419          check->target, check->name, 
    420420          __noit_check_available_string(check->stats.current.available), 
    421421          __noit_check_state_string(check->stats.current.state)); 
     
    425425    mod = noit_module_lookup(dep->check->module); 
    426426    assert(mod); 
    427     noitL(noit_debug, "Firing %s/%s in response to %s/%s\n", 
     427    noitL(noit_debug, "Firing %s`%s in response to %s`%s\n", 
    428428          dep->check->target, dep->check->name, 
    429429          check->target, check->name); 
     
    436436                      noit_check_t *check) { 
    437437  char out[512]; 
    438   char uuid_str[41]; 
    439   snprintf(out, sizeof(out), "%s/%s", check->target, check->name); 
     438  char uuid_str[37]; 
     439  snprintf(out, sizeof(out), "%s`%s", check->target, check->name); 
    440440  uuid_unparse_lower(check->checkid, uuid_str); 
    441441  nc_printf(ncct, "%s %s\n", uuid_str, out);