1
0
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:
Michael Adam
2008-01-17 11:22:01 +01:00
parent 81d6a1fbed
commit 903223b160
2 changed files with 12 additions and 4 deletions

View File

@@ -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);
}