summaryrefslogtreecommitdiff
path: root/source3/aparser/parser.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-17 02:16:44 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-17 02:16:44 +0000
commit0f75bfc2ecc219884dcb37d7110a33cb19839a2c (patch)
tree5c7d24b739e06bbf11bfd81264cdbe6259ad7c1e /source3/aparser/parser.c
parenta71519cf0c75ec26f762d88681a6175a40e36813 (diff)
downloadsamba-0f75bfc2ecc219884dcb37d7110a33cb19839a2c.tar.gz
samba-0f75bfc2ecc219884dcb37d7110a33cb19839a2c.tar.bz2
samba-0f75bfc2ecc219884dcb37d7110a33cb19839a2c.zip
minor parse updates
(This used to be commit 2e0a39204ade323c52847ce9783a987a81c8013a)
Diffstat (limited to 'source3/aparser/parser.c')
-rw-r--r--source3/aparser/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/aparser/parser.c b/source3/aparser/parser.c
index d55a5eb7d3..bcd317b57e 100644
--- a/source3/aparser/parser.c
+++ b/source3/aparser/parser.c
@@ -311,9 +311,9 @@ BOOL io_pointer(char *desc, prs_struct *ps, int depth, void **p, unsigned flags)
if (!(flags & PARSE_SCALARS)) return True;
- v = (*p) ? 1 : 0;
+ v = (*p) ? 0xdeadbeef : 0;
if (!io_uint32(desc, ps, depth, &v, flags)) return False;
- *p = (void *) (v ? 1 : 0);
+ *p = (void *) (v ? 0xdeadbeef : 0);
return True;
}