summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-03-04 18:55:35 +0000
committerJeremy Allison <jra@samba.org>2004-03-04 18:55:35 +0000
commit26c41cb6d71f229a8dd2c7439c85de99f5f1e050 (patch)
treea63e32b358c48837b8023f5c50606ec08c435f80 /source3/smbd
parent33f0b530cf0a58118567e534ec3a7620ca8a2878 (diff)
downloadsamba-26c41cb6d71f229a8dd2c7439c85de99f5f1e050.tar.gz
samba-26c41cb6d71f229a8dd2c7439c85de99f5f1e050.tar.bz2
samba-26c41cb6d71f229a8dd2c7439c85de99f5f1e050.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 ac5e0c4bb686e2aaccc9b70f240f79747fd48cd8)
Diffstat (limited to 'source3/smbd')
-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 079027a5c5..4a9db06c87 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -536,11 +536,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;