Author: gd
Date: 2006-09-27 04:37:34 +0000 (Wed, 27 Sep 2006)
New Revision: 18941

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18941

Log:
Minor cleanup in ads_parse_gpo().

Guenther

Modified:
   branches/SAMBA_3_0/source/libads/gpo.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/gpo.c
===================================================================
--- branches/SAMBA_3_0/source/libads/gpo.c      2006-09-27 03:43:42 UTC (rev 
18940)
+++ branches/SAMBA_3_0/source/libads/gpo.c      2006-09-27 04:37:34 UTC (rev 
18941)
@@ -392,8 +392,8 @@
        }
 
        /* 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)) {

Reply via email to