/[monit]/monit/monitor.c
ViewVC logotype

Diff of /monit/monitor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.24 by hauk, Tue Nov 5 12:22:01 2002 UTC revision 1.25 by chopp, Mon Nov 18 12:51:56 2002 UTC
# Line 503  static void do_default() { Line 503  static void do_default() {
503   */   */
504  static void handle_options(int argc, char **argv) {  static void handle_options(int argc, char **argv) {
505        
506      int rval;
507    char opt;    char opt;
508    
509    opterr= 0;    opterr= 0;
510    
511    mygroup=0;    mygroup=0;
512    
513    while((opt= getopt(argc,argv,"c:d:g:l:iIvVh")) != -1) {    while((rval= getopt(argc,argv,"c:d:g:l:iIvVh")) != -1) {
514        
515        /* Bugfix: char is per default unsigned on arm, powerpc and s390 */
516        opt= (char) rval;
517    
518      switch(opt) {      switch(opt) {
519    
520      case 'c':      case 'c':

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26