ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/idar/idar.c
(Generate patch)

Comparing projects/cms/source/idar/idar.c (file contents):
Revision 1.18 by tdb, Thu Aug 21 14:00:55 2003 UTC vs.
Revision 1.23 by ats, Wed Jun 2 16:11:48 2004 UTC

# Line 1 | Line 1
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
# Line 26 | Line 26
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>
32   #include <ukcprog.h>
# Line 413 | Line 414 | int parse_xml(char *xml, machine_data_list_t **md){
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 */
# Line 1004 | Line 1007 | int main(int argc, char **argv){
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  
# Line 1099 | Line 1102 | int main(int argc, char **argv){
1102                                  machine_list=strdup(optarg);
1103                                  break;
1104                          case 'h':
1105 +                        default:
1106                                  usage();
1107                                  break;
1108                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines