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.12 by pajs, Sun May 19 12:03:43 2002 UTC vs.
Revision 1.13 by pajs, Sun May 19 14:44:36 2002 UTC

# Line 387 | Line 387 | int send_stats(ihost_state_t *ihost_state, char *data_
387  
388          close(sd);
389  
390 +        printf("%s\n",data_stream);
391          return 0;      
392   }
393  
# Line 443 | Line 444 | int main(int argc, char **argv){
444                  if(cur_time>=udp_time){
445                          /*printf("sending UDP\n");*/
446                          stat_grab_time=time(NULL);
447 <                        if((xml_stats=stat_grab(&ihost_state, counter)) == NULL){
447 >                        if((xml_stats=stat_grab(&ihost_state, counter++)) == NULL){
448                                  errf("Failed to get stats (%m)");
449                                  exit(1);
450                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines