ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/ihost/ihost.c
(Generate patch)

Comparing projects/cms/source/ihost/ihost.c (file contents):
Revision 1.34 by tdb, Sun Mar 9 00:21:22 2003 UTC vs.
Revision 1.37 by pajs, Mon Mar 10 16:01:09 2003 UTC

# Line 163 | Line 163 | void log_msg(int level, char *format, ...){
163                  }else{
164                          fprintf(ihost_config.log, "\n");
165                  }
166 +                fflush(ihost_config.log);
167          }
168   }
169  
# Line 293 | Line 294 | int ihost_getconfig(ihost_state_t *ihost_state){
294          time_t config_ttl=0;
295  
296          if((tcp_con=create_tcp_connection(ihost_state->filtermanager_host, ihost_state->filtermanager_port))==NULL){
297 <                goto error;
297 >                return -1;
298          }
299  
300          if(ihost_state->file_list!=NULL || ihost_state->last_modified!=NULL){
# Line 578 | Line 579 | int get_system_stats(int seq_no, ihost_state_t *ihost_
579                          y=page_stats->pages_pageout;
580                  }
581                  snprintf(tmp, size, \
582 <                        "<pages><swapins>%lld</swapins><swapouts>%lld</swapouts></pages>", \
582 >                        "<pages><pageins>%lld</pageins><pageouts>%lld</pageouts></pages>", \
583                          x, \
584                          y);
585          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines