Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / sfs / patches / patch-bs
blob6221b9bffec71b153d1280d207726663423d1bf0
1 $NetBSD$
3 --- ./rex/rexd.C.orig   2002-11-28 16:20:55.000000000 +0000
4 +++ ./rex/rexd.C
5 @@ -213,7 +213,7 @@ rexsess::attach (svccb *sbp)
6     * file descriptor off to the child process and discard any extra
7     * data we have read and buffered). */
8    xhinfo::xon (xs, false);
9 -  rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
10 +  rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
12    sfs_hash sid;
13    ref<sfs_sessinfo> si = New refcounted<sfs_sessinfo>;
14 @@ -283,13 +283,13 @@ rexclient::dispatch (svccb *sbp)
15        }
16        rexd_spawn_res res;
17        vNew rexsess (&credtab[authno],
18 -                   sbp->template getarg<rexd_spawn_arg> (), &res);
19 +                   sbp->getarg<rexd_spawn_arg> (), &res);
20        sbp->replyref (res);
21        break;
22      }
23    case REXD_ATTACH:
24      {
25 -      rexd_attach_arg *argp = sbp->template getarg<rexd_attach_arg> ();
26 +      rexd_attach_arg *argp = sbp->getarg<rexd_attach_arg> ();
27        if (rexsess *sp = sesstab[argp->sessid]) {
28         sp->attach (sbp);
29         delete this;