git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfceb06
)
Fix a warning
author
Volker Lendecke
<vl@samba.org>
Wed, 19 Mar 2008 16:04:50 +0000
(17:04 +0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 19 Mar 2008 16:04:50 +0000
(17:04 +0100)
source/rpc_parse/parse_buffer.c
patch
|
blob
|
history
diff --git
a/source/rpc_parse/parse_buffer.c
b/source/rpc_parse/parse_buffer.c
index 9a68e547a048ac1db0a6d03aae36a351cb2dbcca..bb39a58c07d356b4d66506f822208aa7e839b786 100644
(file)
--- a/
source/rpc_parse/parse_buffer.c
+++ b/
source/rpc_parse/parse_buffer.c
@@
-37,7
+37,7
@@
void rpcbuf_init(RPC_BUFFER *buffer, uint32 size, TALLOC_CTX *ctx)
if (prs_init(&buffer->prs, size, ctx, MARSHALL))
buffer->struct_start = prs_offset(&buffer->prs);
else
- buffer->struct_start =
NULL
;
+ buffer->struct_start =
0
;
}
/*******************************************************************