Changeset f5b00dcec90196b34cbd93d8691d265ac523fba5

Show
Ignore:
Timestamp:
12/12/08 21:36:59 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1229117819 +0000
git-parent:

[7830d95186c5ff499fc6214b8def1cac353fe471]

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

fixes, use noit_false instead of false

Files:

Legend:

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

    r49e329e rf5b00dc  
    200200    if(req->current_input == req->last_input && 
    201201       req->current_offset >= (req->last_input->start + req->last_input->size)) 
    202       return false; 
     202      return noit_false; 
    203203    req->current_offset++; 
    204204    inset = req->current_offset - req->current_input->start; 
     
    221221    goto restart; 
    222222  } 
    223   if(!mstr) return false; 
     223  if(!mstr) return noit_false; 
    224224  req->current_offset = mstr - req->current_input->buff + REQ_PATSIZE; 
    225225 match: 
  • src/stratcon_realtime_http.c

    r7830d95 rf5b00dc  
    1111#include "jlog/jlog.h" 
    1212#include "noit_jlog_listener.h" 
    13 #include "noit_listener.h"c 
     13#include "noit_listener.h" 
    1414#include "noit_http.h" 
    1515 
     
    4040           e->whence.tv_sec * 1000 + e->whence.tv_usec / 1000, "A-UUID", "metric-name", (float)(rand() % 100000) / 1000.0); 
    4141  noit_http_response_append(ctx, buffer, strlen(buffer)); 
    42   noit_http_response_flush(ctx, false); 
     42  noit_http_response_flush(ctx, noit_false); 
    4343 
    4444  e->mask = EVENTER_TIMER; 
     
    7676    noit_http_response_header_set(ctx, "Content-Type", "text/html"); 
    7777    noit_http_response_append(ctx, c, strlen(c)); 
    78     noit_http_response_flush(ctx, false); 
     78    noit_http_response_flush(ctx, noit_false); 
    7979    stratcon_realtime_ticker(NULL, 0, ctx, NULL); 
    8080    rc->setup = 1;