1
0
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:
Andrew Tridgell 2006-04-08 02:47:42 +00:00 committed by Gerald (Jerry) Carter
parent 14594c7b85
commit 02a224d3bf

View File

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