summaryrefslogtreecommitdiff
path: root/source3/smbd/ipc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-08-05 11:19:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:20 -0500
commitd274724ebbbce15abe2c5cd73fca94453dfc2a84 (patch)
tree12c0dbbf72bdff12a3b3bc5d83682e56366a6e2c /source3/smbd/ipc.c
parent43a77ab149f154961113f05296815af50c0274da (diff)
downloadsamba-d274724ebbbce15abe2c5cd73fca94453dfc2a84.tar.gz
samba-d274724ebbbce15abe2c5cd73fca94453dfc2a84.tar.bz2
samba-d274724ebbbce15abe2c5cd73fca94453dfc2a84.zip
r24243: Remove reply_prep_legacy from api_reply
(This used to be commit b01664b43b0bd94bb59dec57480d2be954a7298a)
Diffstat (limited to 'source3/smbd/ipc.c')
-rw-r--r--source3/smbd/ipc.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 3b26ded71f..f865af2fc7 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -375,20 +375,10 @@ static void named_pipe(connection_struct *conn, uint16 vuid,
DEBUG(3,("named pipe command on <%s> name\n", name));
if (strequal(name,"LANMAN")) {
- char *inbuf, *outbuf;
- int size, bufsize;
-
- if (!reply_prep_legacy(req, &inbuf, &outbuf, &size, &bufsize)) {
- reply_nterror(req, NT_STATUS_NO_MEMORY);
- return;
- }
-
- reply_post_legacy(
- req,
- api_reply(conn, vuid, inbuf, outbuf,
- data, params,
- tdscnt, tpscnt,
- mdrcnt, mprcnt));
+ api_reply(conn, vuid, req,
+ data, params,
+ tdscnt, tpscnt,
+ mdrcnt, mprcnt);
return;
}