Patch to cli_pipe.c
Ken Cross
kcross at nssolutions.com
Mon Jul 14 12:46:05 GMT 2003
Samba-folk:
This morning I got this error:
rpc_client/cli_pipe.c: In function `rpc_api_pipe_req':
rpc_client/cli_pipe.c:993: parse error before `int'
rpc_client/cli_pipe.c:997: `auth_level' undeclared (first use in this
function)
rpc_client/cli_pipe.c:997: (Each undeclared identifier is reported only once
rpc_client/cli_pipe.c:997: for each function it appears in.)
rpc_client/cli_pipe.c:1003: `auth_type' undeclared (first use in this
function)
The fix is pretty simple (move prs_align_uint on line 993 down 2 lines):
RCS file: /cvsroot/samba/source/rpc_client/cli_pipe.c,v
retrieving revision 1.79.2.26
diff -p -u -r1.79.2.26 cli_pipe.c
--- rpc_client/cli_pipe.c 14 Jul 2003 08:46:32 -0000 1.79.2.26
+++ rpc_client/cli_pipe.c 14 Jul 2003 12:44:49 -0000
@@ -989,9 +989,9 @@ BOOL rpc_api_pipe_req(struct cli_state *
if (cli->pipe_auth_flags) {
size_t data_and_padding_size;
- prs_align_uint64(&sec_blob);
int auth_type = 0;
int auth_level = 0;
+ prs_align_uint64(&sec_blob);
if (cli->pipe_auth_flags & AUTH_PIPE_SEAL) {
auth_level = RPC_PIPE_AUTH_SEAL_LEVEL;
Ken
________________________________
Ken Cross
Network Storage Solutions
Phone 865.675.4070 ext 31
kcross at nssolutions.com
More information about the samba-technical
mailing list