summaryrefslogtreecommitdiff
path: root/parser.y
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@users.sourceforge.net>2002-11-09 12:07:43 +0000
committerJosé Fonseca <jrfonseca@users.sourceforge.net>2002-11-09 12:07:43 +0000
commitb8232da3405d4e75e984d14d980111c966b55ffc (patch)
tree3ef19467fb0a0d13b05a51d3cc3239947f701d46 /parser.y
parent770de3d461dcec283bb199f9dbfce84749723625 (diff)
Source formatting fixes.
Diffstat (limited to 'parser.y')
-rw-r--r--parser.y10
1 files changed, 6 insertions, 4 deletions
diff --git a/parser.y b/parser.y
index 4cd9024..5694948 100644
--- a/parser.y
+++ b/parser.y
@@ -34,8 +34,8 @@ void yyerror (const char *s);
%}
%union {
- int number;
- char *sval;
+ int number;
+ char *sval;
}
%token HOSTNAME USERNAME PASSWORD STARTTLS CERTIFICATE_PASSPHRASE
@@ -99,8 +99,10 @@ void parse_rcfile (void)
strcat(rcfile, RCFILE);
/* Open the configuration file and feed it to the lexer. */
- if (!(yyin = fopen(rcfile, "r"))) {
- if (errno != ENOENT) {
+ if (!(yyin = fopen(rcfile, "r")))
+ {
+ if (errno != ENOENT)
+ {
fprintf(stderr, "open: %s: %s\n", rcfile, strerror(errno));
}
}