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.30 by pajs, Mon Mar 3 17:07:34 2003 UTC vs.
Revision 1.32 by pajs, Thu Mar 6 12:01:33 2003 UTC

# Line 238 | Line 238 | int ihost_getconfig(ihost_state_t *ihost_state){
238                  }
239          
240                  if((tcp_comm(tcp_con, ihost_state->last_modified, &response, "OK"))==0){
241 <                        if((tcp_comm(tcp_con, "END", &response, "OK"))==0){
241 >                        if((tcp_comm(tcp_con, "END", &response, "OK"))!=0){
242                                  goto error;
243                          }
244                          fclose(tcp_con);
# Line 517 | Line 517 | int get_system_stats(int seq_no, ihost_state_t *ihost_
517          /* get diskio stats */
518          
519          if((diskio_stats=get_diskio_stats_diff(&diskio_entries))==NULL){
520 <                log_msg(LOG_CRIT, "Fahttp://www.cs.ukc.ac.uk/teaching/02/modules/CO/6/17/rdl/criteria.pdfiled to get diskio statistics");
520 >                log_msg(LOG_CRIT, "Failed to get diskio statistics");
521          }else{
522                  strlcat(xml, "<diskio>", size);
523                  for(counter=0;counter<diskio_entries;counter++){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines