Changeset 685103350afcff1386c2b0b562c34301bf937d3b

Show
Ignore:
Timestamp:
02/03/11 18:18:54 (8 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1296757134 +0000
git-parent:

[bf14ffcb68f78a1f42d549092e41a543deb1f387]

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

refs #347 -- this fixes statuses... if peeps want CR or LF, they need to escape them.

Files:

Legend:

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

    rb553f9a r6851033  
    10151015                     noit_check_t *check, stats_t *newstate) { 
    10161016  int report_change = 0; 
     1017  char *cp; 
    10171018  dep_list_t *dep; 
    10181019  if(check->stats.previous.status) 
     
    10231024  if(check->stats.current.status) 
    10241025    check->stats.current.status = strdup(check->stats.current.status); 
     1026  for(cp = check->stats.current.status; cp && *cp; cp++) 
     1027    if(*cp == '\r' || *cp == '\n') *cp = ' '; 
    10251028 
    10261029  /* check for state changes */