summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-07 14:46:24 +0000
committerJim McDonough <jmcd@samba.org>2002-11-07 14:46:24 +0000
commit1486559181b6c0dd2a02bf05115d5903e2489367 (patch)
tree343f149d9a670b21128093bd8eeace5ff3191a5e /source3/smbd
parente214a1559579f723b529ef3f51d9805db0ed5451 (diff)
downloadsamba-1486559181b6c0dd2a02bf05115d5903e2489367.tar.gz
samba-1486559181b6c0dd2a02bf05115d5903e2489367.tar.bz2
samba-1486559181b6c0dd2a02bf05115d5903e2489367.zip
Stop using hardcoded smbtrans subcommands
(This used to be commit 117077b172acbdf0e059feb0d598e99cec481291)
Diffstat (limited to 'source3/smbd')
-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;