summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-27 04:37:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:49 -0500
commit296b450f16dd45e01d4c495ca085c16e1894adc6 (patch)
treeaad38ab28b0a8839494b9af1ad8a46a6f7420fd1
parentd89a951517744c523d26af5e0e71d70fcc9f643b (diff)
downloadsamba-296b450f16dd45e01d4c495ca085c16e1894adc6.tar.gz
samba-296b450f16dd45e01d4c495ca085c16e1894adc6.tar.bz2
samba-296b450f16dd45e01d4c495ca085c16e1894adc6.zip
r18941: Minor cleanup in ads_parse_gpo().
Guenther (This used to be commit 7579a91f81a43f570987fecca03c19f559887685)
-rw-r--r--source3/libads/gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/gpo.c b/source3/libads/gpo.c
index 15ff54854c..4a121e9f6a 100644
--- a/source3/libads/gpo.c
+++ b/source3/libads/gpo.c
@@ -392,8 +392,8 @@ ADS_STATUS ads_delete_gpo_link(ADS_STRUCT *ads,
}
/* split here for convenience */
- gpo->version_user = gpo->version >> 16;
- gpo->version_machine = gpo->version & 0xffff;
+ gpo->version_user = GPO_VERSION_USER(gpo->version);
+ gpo->version_machine = GPO_VERSION_MACHINE(gpo->version);
/* sure ??? */
if (!ads_pull_uint32(ads, res, "flags", &gpo->options)) {