From 4020fadb1af8823d9341faa58920477485d888e5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 4 Mar 2004 18:55:37 +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 2a263873fd6bbbf03a32136981e433dc43374da9) --- source3/smbd/nttrans.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/smbd') 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; -- cgit