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.29 by tdb, Mon Mar 3 12:32:35 2003 UTC vs.
Revision 1.30 by pajs, Mon Mar 3 17:07:34 2003 UTC

# Line 220 | Line 220 | int ihost_getconfig(ihost_state_t *ihost_state){
220          int server_udp_port=0;
221          time_t config_ttl=0;
222  
223 <        tcp_con=create_tcp_connection(ihost_state->filtermanager_host, ihost_state->filtermanager_port);
223 >        if((tcp_con=create_tcp_connection(ihost_state->filtermanager_host, ihost_state->filtermanager_port))==NULL){
224 >                goto error;
225 >        }
226  
227          if(ihost_state->file_list!=NULL || ihost_state->last_modified!=NULL){
228                  if(tcp_con==NULL){
# Line 515 | 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, "Failed to get diskio statistics");
520 >                log_msg(LOG_CRIT, "Fahttp://www.cs.ukc.ac.uk/teaching/02/modules/CO/6/17/rdl/criteria.pdfiled 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