summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-10-03 20:13:11 +0000
committerJeremy Allison <jra@samba.org>2003-10-03 20:13:11 +0000
commitc81c09d66ff4ed5c524312f73540862ded3335d2 (patch)
tree117e0193e928fcd437a27249b433fa4572defb15 /source3
parent297e3f8b2ddb5ac02fb5c36f8e619f6d2d6a5c2b (diff)
downloadsamba-c81c09d66ff4ed5c524312f73540862ded3335d2.tar.gz
samba-c81c09d66ff4ed5c524312f73540862ded3335d2.tar.bz2
samba-c81c09d66ff4ed5c524312f73540862ded3335d2.zip
Grrr. compile patches before you apply !
Jeremy. (This used to be commit dfbde4be7191895d79762855b21f5c62d53d5267)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_parse/parse_rpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index 5b97c44d65..1ea59feaed 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -248,7 +248,7 @@ BOOL smb_io_rpc_hdr(const char *desc, RPC_HDR *rpc, prs_struct *ps, int depth)
static BOOL smb_io_rpc_uuid(const char *desc, RPC_UUID *uuid, prs_struct *ps, int depth)
{
- if (ifc == NULL)
+ if (uuid == NULL)
return False;
prs_debug(ps, depth, desc, "smb_io_rpc_uuid");
@@ -267,7 +267,7 @@ static BOOL smb_io_rpc_uuid(const char *desc, RPC_UUID *uuid, prs_struct *ps, in
if(!prs_uint8s (False, "data ", ps, depth, uuid->remaining, sizeof(uuid->remaining)))
return False;
- return true;
+ return True;
}
/*******************************************************************
@@ -282,10 +282,10 @@ static BOOL smb_io_rpc_iface(const char *desc, RPC_IFACE *ifc, prs_struct *ps, i
prs_debug(ps, depth, desc, "smb_io_rpc_iface");
depth++;
- if (!smb_io_rpc_uuid( "uuid", ps, depth, &ifc->uuid))
+ if (!smb_io_rpc_uuid( "uuid", &ifc->uuid, ps, depth))
return False;
- if(!prs_uint32 ( "version", ps, depth, &ifc->version))
+ if(!prs_uint32 ("version", ps, depth, &ifc->version))
return False;
return True;