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