From 1486559181b6c0dd2a02bf05115d5903e2489367 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Thu, 7 Nov 2002 14:46:24 +0000 Subject: Stop using hardcoded smbtrans subcommands (This used to be commit 117077b172acbdf0e059feb0d598e99cec481291) --- source3/smbd/ipc.c | 6 +++--- 1 file 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; -- cgit