updated the 3.0 branch from the head branch - ready for alpha18
[samba.git] / source3 / smbd / pipes.c
index 6c1e6efa7351a4220fffd68f3af6c1668054d367..f7e9c595c13bf8f35d7f97c02b10dd61d4e8ffea 100644 (file)
@@ -50,7 +50,7 @@ int reply_open_pipe_and_X(connection_struct *conn,
        int i;
 
        /* XXXX we need to handle passed times, sattr and flags */
-       srvstr_pull(inbuf, pipe_name, smb_buf(inbuf), sizeof(pipe_name), -1, STR_TERMINATE);
+       srvstr_pull_buf(inbuf, pipe_name, smb_buf(inbuf), sizeof(pipe_name), STR_TERMINATE);
 
        /* If the name doesn't start \PIPE\ then this is directed */
        /* at a mailslot or something we really, really don't understand, */