mirror of
https://github.com/samba-team/samba.git
synced 2025-11-15 16:23:49 +03:00
Add a reg_getversion() function to reg_api and use it in srv_winreg_nt.c.
Michael
This commit is contained in:
@@ -370,9 +370,7 @@ WERROR _winreg_GetVersion(pipes_struct *p, struct winreg_GetVersion *r)
|
||||
if ( !regkey )
|
||||
return WERR_BADFID;
|
||||
|
||||
*r->out.version = 0x00000005; /* Windows 2000 registry API version */
|
||||
|
||||
return WERR_OK;
|
||||
return reg_getversion(r->out.version);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user