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.31 by pajs, Tue Mar 4 10:44:36 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){

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines