Changeset 383dd57d260183763f10a43dd64653113912b70a

Show
Ignore:
Timestamp:
07/12/11 03:43:12 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1310442192 -0400
git-parent:

[6ca74a6ad05b0b9fc114151355ceca02cf3502bc]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1310442192 -0400
Message:

use our noit_true and our boolean type

Files:

Legend:

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

    ra423b8a r383dd57  
    7070static noit_log_stream_t delete_log = NULL; 
    7171static noit_log_stream_t bundle_log = NULL; 
    72 static bool use_compression = true; 
     72static noit_boolean use_compression = noit_true; 
    7373 
    7474#define SECPART(a) ((unsigned long)(a)->tv_sec) 
     
    292292  switch (m->metric_type) { 
    293293    case METRIC_INT32: 
    294       metric->has_valuei32 = true; 
     294      metric->has_valuei32 = noit_true; 
    295295      metric->valuei32 = *(m->metric_value.i); break; 
    296296    case METRIC_UINT32: 
    297       metric->has_valueui32 = true; 
     297      metric->has_valueui32 = noit_true; 
    298298      metric->valueui32 = *(m->metric_value.I); break; 
    299299    case METRIC_INT64: 
    300       metric->has_valuei64 = true; 
     300      metric->has_valuei64 = noit_true; 
    301301      metric->valuei64 = *(m->metric_value.l); break; 
    302302    case METRIC_UINT64: 
    303       metric->has_valueui64 = true; 
     303      metric->has_valueui64 = noit_true; 
    304304      metric->valueui64 = *(m->metric_value.L); break; 
    305305    case METRIC_DOUBLE: 
    306       metric->has_valuedbl = true; 
     306      metric->has_valuedbl = noit_true; 
    307307      metric->valuedbl = *(m->metric_value.n); break; 
    308308    case METRIC_STRING: