summaryrefslogtreecommitdiff
path: root/security/sfs/patches/patch-bs
blob: 92bceca34e6ddcb8eb9dd9edf38768bbcba31420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-bs,v 1.1 2006/10/21 11:53:13 agc Exp $

--- ./rex/rexd.C.orig	2002-11-28 16:20:55.000000000 +0000
+++ ./rex/rexd.C
@@ -213,7 +213,7 @@ rexsess::attach (svccb *sbp)
    * file descriptor off to the child process and discard any extra
    * data we have read and buffered). */
   xhinfo::xon (xs, false);
-  rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
+  rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
 
   sfs_hash sid;
   ref<sfs_sessinfo> si = New refcounted<sfs_sessinfo>;
@@ -283,13 +283,13 @@ rexclient::dispatch (svccb *sbp)
       }
       rexd_spawn_res res;
       vNew rexsess (&credtab[authno],
-		    sbp->template getarg<rexd_spawn_arg> (), &res);
+		    sbp->getarg<rexd_spawn_arg> (), &res);
       sbp->replyref (res);
       break;
     }
   case REXD_ATTACH:
     {
-      rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
+      rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
       if (rexsess *sp = sesstab[argp->sessid]) {
 	sp->attach (sbp);
 	delete this;