git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafb243
)
Fix my breakage of NT pipes from the previous patch (sorry). Use the
author
Jeremy Allison
<jra@samba.org>
Thu, 4 Mar 2004 18:55:37 +0000
(18:55 +0000)
committer
Jeremy Allison
<jra@samba.org>
Thu, 4 Mar 2004 18:55:37 +0000
(18:55 +0000)
original srvstr_pull_buf() function to get the pipename not srvstr_get_path().
Jeremy.
source/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source/smbd/nttrans.c
b/source/smbd/nttrans.c
index 11518c24f7a14393019c56212c0420922d4be629..21b6db8b4691df241f484779a15c7811b614d49b 100644
(file)
--- a/
source/smbd/nttrans.c
+++ b/
source/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;