From 26c41cb6d71f229a8dd2c7439c85de99f5f1e050 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 4 Mar 2004 18:55:35 +0000 Subject: 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) --- source3/smbd/nttrans.c | 5 +---- 1 file changed, 1 insertion(+), 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; -- cgit