aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-21 03:45:49 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-21 03:45:49 +0000
commit4005acb9924f35b7c51328c44b4b3986d3be2bee (patch)
treefa56e11169895af72b5bff9f61bf2a182f88ecd6 /rcfile_y.y
parent18121bbdd9912ff5a7d3a8714c50b1608b96ae4a (diff)
downloadfetchmail-4005acb9924f35b7c51328c44b4b3986d3be2bee.tar.gz
fetchmail-4005acb9924f35b7c51328c44b4b3986d3be2bee.tar.bz2
fetchmail-4005acb9924f35b7c51328c44b4b3986d3be2bee.zip
Craig's patches in response to cmetz3.
svn path=/trunk/; revision=1664
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y7
1 files changed, 3 insertions, 4 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 95ffa5c6..b704c2ce 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -46,7 +46,7 @@ static int prc_errflag;
static struct hostdata *leadentry;
static flag trailer;
#if NET_SECURITY
-static net_security_operation request[NET_SECURITY_OPERATION_MAX];
+static struct net_security_operation request[NET_SECURITY_OPERATION_MAX];
static int requestlen = NET_SECURITY_OPERATION_MAX;
#endif /* NET_SECURITY */
@@ -173,11 +173,10 @@ serv_option : AKA alias_list
| QVIRTUAL STRING {current.server.qvirtual=xstrdup($2);}
| NETSEC STRING {
#ifdef NET_SECURITY
- if (net_security_strtorequest(options, request, &requestlen))
+ if (net_security_strtorequest($2, request, &requestlen))
yyerror("invalid security request");
else
- current.server.netsec =
- xstrdup($2);
+ current.server.netsec = xstrdup($2);
#else
yyerror("network-security support disabled")
#endif /* NET_SECURITY */