summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 14:39:49 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 14:39:49 +0000
commit9df2283b0c6aeeb28c1a75d661c16f40f9090067 (patch)
tree3247db69f8373503ad0fbbcc9ef817be1d9dedbe /source3/smbd/ipc.c
parent42357a32442ae415aa9c624bc6393a5906442046 (diff)
downloadsamba-9df2283b0c6aeeb28c1a75d661c16f40f9090067.tar.gz
samba-9df2283b0c6aeeb28c1a75d661c16f40f9090067.tar.bz2
samba-9df2283b0c6aeeb28c1a75d661c16f40f9090067.zip
Stop using hardcoded transact commands
(This used to be commit ec0d94b4dd8409e6bf114d013f23a52f0fc11a69)
Diffstat (limited to 'source3/smbd/ipc.c')
-rw-r--r--source3/smbd/ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 91b221968f..7fe02dbccf 100644
--- a/source3/smbd/ipc.c
+++ b/source3/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;