mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
r14978: fixed a print of NULL
(This used to be commit bf867dc789dc966864223d8fdc52e093ccacf181)
This commit is contained in:
parent
14594c7b85
commit
02a224d3bf
@ -42,7 +42,7 @@ static void print_tree(int l, struct registry_key *p, int fullpath, int novals)
|
||||
} else {
|
||||
if(!p->name) printf("<No Name>\n");
|
||||
if(fullpath) printf("%s\n", p->path);
|
||||
else printf("%s\n", p->name);
|
||||
else printf("%s\n", p->name?p->name:"(NULL)");
|
||||
}
|
||||
|
||||
mem_ctx = talloc_init("print_tree");
|
||||
|
Loading…
x
Reference in New Issue
Block a user