94df3e688c
+ add support for gcc4
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
$NetBSD: patch-bj,v 1.1 2006/10/21 11:53:13 agc Exp $
|
|
|
|
--- ./agent/sfsproac.C.orig 2002-11-21 18:54:56.000000000 +0000
|
|
+++ ./agent/sfsproac.C
|
|
@@ -61,7 +61,7 @@ sfsproac::set_name (str &n)
|
|
void
|
|
sfsproac::authinit (svccb *sbp)
|
|
{
|
|
- sfsextauth_init *aa = sbp->template getarg<sfsextauth_init> ();
|
|
+ sfsextauth_init *aa = sbp->getarg<sfsextauth_init> ();
|
|
ptr<sfs_authreq2> authreq = New refcounted<sfs_authreq2>;
|
|
|
|
authreq->type = SFS_SIGNED_AUTHREQ;
|
|
@@ -87,7 +87,7 @@ void
|
|
sfsproac::authinitcb (svccb *sbp, ptr<sfs_authreq2> ar,
|
|
str err, ptr<sfs_sig2> sig)
|
|
{
|
|
- sfsagent_auth_res *res = sbp->template getres<sfsagent_auth_res> ();
|
|
+ sfsagent_auth_res *res = sbp->getres<sfsagent_auth_res> ();
|
|
|
|
if (!sig) {
|
|
warn << "sfsproac::authinit: sign failure on request: " << err << "\n";
|
|
@@ -107,7 +107,7 @@ sfsproac::authinitcb (svccb *sbp, ptr<sf
|
|
|
|
if (!xdr2bytes (*(res->certificate), ar)) {
|
|
warn ("sfsproac::authinit: xdr failure on request:\n");
|
|
- rpc_print(warn, sbp->template getarg<sfsextauth_init> ());
|
|
+ rpc_print(warn, sbp->getarg<sfsextauth_init> ());
|
|
res->set_authenticate (false);
|
|
}
|
|
}
|