--- projects/cms/source/ihost/ihost.c 2002/05/21 14:23:31 1.19 +++ projects/cms/source/ihost/ihost.c 2002/05/21 14:36:23 1.20 @@ -373,6 +373,7 @@ char *stat_grab(ihost_state_t *ihost_state, int counte char *stats[NUM_STATS]; char *xml_data=NULL; char *xml_data_p; + int xml_size=0; int x=0; logmessage(LOG_DEBUG,"get_cpu_stats"); @@ -393,27 +394,23 @@ char *stat_grab(ihost_state_t *ihost_state, int counte stats[7]=get_swap_stats(); logmessage(LOG_DEBUG,"get_user_stats"); stats[8]=get_user_stats(); + - for(;x%s", counter, ihost_state->my_fqdn, time(NULL), ihost_state->my_ip, ihost_state->key, xml_data); free(xml_data_p);