1 |
|
/* |
2 |
|
* i-scream central monitoring system |
3 |
< |
* http://www.i-scream.org.uk |
3 |
> |
* http://www.i-scream.org |
4 |
|
* Copyright (C) 2000-2002 i-scream |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or |
26 |
|
#include <string.h> |
27 |
|
#include <sys/types.h> |
28 |
|
#include <sys/socket.h> |
29 |
+ |
#include <sys/ioctl.h> |
30 |
|
#include <unistd.h> |
31 |
|
#include <stdlib.h> |
31 |
– |
#include <ukcprog.h> |
32 |
|
#include <netinet/in.h> |
33 |
|
#include <netdb.h> |
34 |
|
#include <sys/termios.h> |
35 |
|
#include <signal.h> |
36 |
|
#include <errno.h> |
37 |
+ |
#include <ukcprog.h> |
38 |
|
|
39 |
|
#include <libxml/xmlmemory.h> |
40 |
|
#include <libxml/parser.h> |
414 |
|
machine_data_list->diskio_data_list=NULL; |
415 |
|
*md=machine_data_list; |
416 |
|
num_hosts++; |
417 |
+ |
} else { |
418 |
+ |
xmlFree(hostname); |
419 |
|
} |
420 |
|
|
421 |
|
/* Now we want to pull out the data */ |
1007 |
|
extern int errno; |
1008 |
|
|
1009 |
|
display_config_t display_config; |
1010 |
< |
char ch; |
1010 |
> |
int ch; |
1011 |
|
|
1012 |
|
int data_fileno, stdin_fileno, biggest_fileno; |
1013 |
|
|