summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-04 18:55:37 +0000
committerJeremy Allison <jra@samba.org>2004-03-04 18:55:37 +0000
commit4020fadb1af8823d9341faa58920477485d888e5 (patch)
tree00665ba171760c4bc3b52b30306167c6dece278c /source3
parent9b882ce3e5d3c12e68134a1e2d01abb5849a2902 (diff)
downloadsamba-4020fadb1af8823d9341faa58920477485d888e5.tar.gz
samba-4020fadb1af8823d9341faa58920477485d888e5.tar.bz2
samba-4020fadb1af8823d9341faa58920477485d888e5.zip
Fix my breakage of NT pipes from the previous patch (sorry). Use the
original srvstr_pull_buf() function to get the pipename not srvstr_get_path(). Jeremy. (This used to be commit 2a263873fd6bbbf03a32136981e433dc43374da9)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 11518c24f7..21b6db8b46 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -535,11 +535,8 @@ static int do_ntcreate_pipe_open(connection_struct *conn,
int ret;
int pnum = -1;
char *p = NULL;
- NTSTATUS status;
- srvstr_get_path(inbuf, fname, smb_buf(inbuf), sizeof(fname), 0, STR_TERMINATE, &status);
- if (!NT_STATUS_IS_OK(status))
- return ERROR_NT(status);
+ srvstr_pull_buf(inbuf, fname, smb_buf(inbuf), sizeof(fname), STR_TERMINATE);
if ((ret = nt_open_pipe(fname, conn, inbuf, outbuf, &pnum)) != 0)
return ret;