Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / sfs / patches / patch-bp
blob5dab2c4fa5357b1e4f5bdef2fc0577c8cc46c0bf
1 $NetBSD$
3 --- ./rex/proxy.C.orig  2002-11-26 23:13:00.000000000 +0000
4 +++ ./rex/proxy.C
5 @@ -76,7 +76,7 @@ rexclnt::dispatch (svccb *sbp)
6      break;
7    case REX_DATA:
8      {
9 -      rex_payload *argp = sbp->template getarg<rex_payload> ();
10 +      rex_payload *argp = sbp->getarg<rex_payload> ();
11        if (argp->fd < 0) {
12         chantab.remove (argp->channel);
13         sbp->replyref (false);
14 @@ -90,7 +90,7 @@ rexclnt::dispatch (svccb *sbp)
15    case REX_CLOSE:
16    case REX_KILL:
17      {
18 -      rex_int_arg *argp = sbp->template getarg<rex_int_arg> ();
19 +      rex_int_arg *argp = sbp->getarg<rex_int_arg> ();
20        if (chanbase *c = chantab[argp->channel]) {
21         if (sbp->proc () == REX_KILL)
22           c->kill (sbp);
23 @@ -103,7 +103,7 @@ rexclnt::dispatch (svccb *sbp)
24      }
25    case REX_MKCHANNEL:
26      {
27 -      rex_mkchannel_arg *argp = sbp->template getarg<rex_mkchannel_arg> ();
28 +      rex_mkchannel_arg *argp = sbp->getarg<rex_mkchannel_arg> ();
29        ptr<chanbase> cb;
31        int cn = chanalloc ();
32 @@ -120,7 +120,7 @@ rexclnt::dispatch (svccb *sbp)
33      }
34    case REX_SETENV:
35      {
36 -      rex_setenv_arg *arg = sbp->template getarg<rex_setenv_arg> ();
37 +      rex_setenv_arg *arg = sbp->getarg<rex_setenv_arg> ();
38        if (!arg->name.len ()) {
39         warn ("received REX_SETENV with null name\n");
40         sbp->replyref (false);
41 @@ -143,7 +143,7 @@ rexclnt::dispatch (svccb *sbp)
42    case REX_UNSETENV:
43      {
44  #ifdef HAVE_UNSETENV
45 -      rex_unsetenv_arg *arg = sbp->template getarg<rex_unsetenv_arg> ();
46 +      rex_unsetenv_arg *arg = sbp->getarg<rex_unsetenv_arg> ();
47        if (arg->len ())
48         unsetenv (arg->cstr ());
49        else
50 @@ -176,7 +176,7 @@ ctldispatch (svccb *sbp)
51      break;
52    case REXCTL_CONNECT:
53      {
54 -      sfs_sessinfo *argp = sbp->template getarg<sfs_sessinfo> ();
55 +      sfs_sessinfo *argp = sbp->getarg<sfs_sessinfo> ();
56        int fd = rxprt->recvfd ();
57        if (fd >= 0) {
58         ref<axprt_crypt> x (axprt_crypt::alloc (fd));