diff options
author | Jim McDonough <jmcd@samba.org> | 2002-11-07 14:46:24 +0000 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2002-11-07 14:46:24 +0000 |
commit | 117077b172acbdf0e059feb0d598e99cec481291 (patch) | |
tree | a7702b906ca4aca4ab375df1fb72f8135ba77337 /source/smbd/ipc.c | |
parent | 645c2d5c30a79d4aa28f477dbf0fc44d319fd35d (diff) | |
download | samba-117077b172acbdf0e059feb0d598e99cec481291.tar.gz samba-117077b172acbdf0e059feb0d598e99cec481291.tar.xz samba-117077b172acbdf0e059feb0d598e99cec481291.zip |
Stop using hardcoded smbtrans subcommands
Diffstat (limited to 'source/smbd/ipc.c')
-rw-r--r-- | source/smbd/ipc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c index 91b221968f2..7fe02dbccf9 100644 --- a/source/smbd/ipc.c +++ b/source/smbd/ipc.c @@ -293,17 +293,17 @@ static int api_fd_reply(connection_struct *conn,uint16 vuid,char *outbuf, DEBUG(10,("api_fd_reply: p:%p max_trans_reply: %d\n", p, p->max_trans_reply)); switch (subcommand) { - case 0x26: + case TRANSACT_DCERPCCMD: /* dce/rpc command */ reply = write_to_pipe(p, data, tdscnt); if (reply) reply = api_rpc_trans_reply(outbuf, p); break; - case 0x53: + case TRANSACT_WAITNAMEDPIPEHANDLESTATE: /* Wait Named Pipe Handle state */ reply = api_WNPHS(outbuf, p, params, tpscnt); break; - case 0x01: + case TRANSACT_SETNAMEDPIPEHANDLESTATE: /* Set Named Pipe Handle state */ reply = api_SNPHS(outbuf, p, params, tpscnt); break; |