/[monit]/monit/p.y
ViewVC logotype

Diff of /monit/p.y

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

revision 1.213 by martinp, Mon Sep 5 09:51:37 2005 UTC revision 1.214 by martinp, Mon Sep 12 22:08:40 2005 UTC
# Line 494  mailserverlist  : mailserver Line 494  mailserverlist  : mailserver
494                  ;                  ;
495    
496  mailserver      : STRING {  mailserver      : STRING {
497                        /* Restore the current text overriden by lookahead */
498                        FREE(argyytext);
499                        argyytext= xstrdup($1);
500    
501                      check_hostname($1);                      check_hostname($1);
502                      addmailserver($1, PORT_SMTP);                      addmailserver($1, PORT_SMTP);
503                    }                    }
504                  | STRING PORT NUMBER {                  | STRING PORT NUMBER {
505                        /* Restore the current text overriden by lookahead */
506                        FREE(argyytext);
507                        argyytext= xstrdup($1);
508    
509                      check_hostname($1);                      check_hostname($1);
510                      addmailserver($1, $<number>3);                      addmailserver($1, $<number>3);
511                    }                    }

Legend:
Removed from v.1.213  
changed lines
  Added in v.1.214

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