diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-08-05 11:19:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:20 -0500 |
commit | d274724ebbbce15abe2c5cd73fca94453dfc2a84 (patch) | |
tree | 12c0dbbf72bdff12a3b3bc5d83682e56366a6e2c /source3/smbd/ipc.c | |
parent | 43a77ab149f154961113f05296815af50c0274da (diff) | |
download | samba-d274724ebbbce15abe2c5cd73fca94453dfc2a84.tar.gz samba-d274724ebbbce15abe2c5cd73fca94453dfc2a84.tar.xz 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.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index 3b26ded71f3..f865af2fc74 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; } |