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); |
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++){ |