summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-11 06:34:12 +0000
committerTim Potter <tpot@samba.org>2000-12-11 06:34:12 +0000
commit4d56f4f3103a5cc549504af133d29ebb30fb59c6 (patch)
treee3870ed6d8088fe776908efbd4b89b5d4690ef72 /source3/rpc_parse
parent9e9961d2db041ed742eb5f8fdee7252e622860b2 (diff)
downloadsamba-4d56f4f3103a5cc549504af133d29ebb30fb59c6.tar.gz
samba-4d56f4f3103a5cc549504af133d29ebb30fb59c6.tar.bz2
samba-4d56f4f3103a5cc549504af133d29ebb30fb59c6.zip
return NULL instead of return False in char *prs_mem_get();
(This used to be commit 71e5e802b78b22af9be7d3e84e869f311937e542)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_prs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 659f8e42bd..e800c20290 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -442,7 +442,7 @@ char *prs_mem_get(prs_struct *ps, uint32 extra_size)
* Writing - grow the buffer if needed.
*/
if(!prs_grow(ps, extra_size))
- return False;
+ return NULL;
}
return &ps->data_p[ps->data_offset];
}