1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

r9390: fixed mixing of code and data

This commit is contained in:
Andrew Tridgell
2005-08-18 12:21:42 +00:00
committed by Gerald (Jerry) Carter
parent 1a3229777a
commit ae2122e76a

View File

@@ -125,10 +125,11 @@ static char *reg_path_to_ldb(TALLOC_CTX *mem_ctx, struct registry_key *from, con
while(mypath) {
char *keyname;
begin = strrchr(mypath, '\\');
struct ldb_val val;
char *key;
begin = strrchr(mypath, '\\');
if (begin) keyname = begin + 1;
else keyname = mypath;