svn commit: samba r14978 - in
branches/SAMBA_4_0/source/lib/registry/tools: .
tridge at samba.org
tridge at samba.org
Sat Apr 8 02:47:43 GMT 2006
Author: tridge
Date: 2006-04-08 02:47:42 +0000 (Sat, 08 Apr 2006)
New Revision: 14978
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14978
Log:
fixed a print of NULL
Modified:
branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/tools/regtree.c 2006-04-08 02:44:37 UTC (rev 14977)
+++ branches/SAMBA_4_0/source/lib/registry/tools/regtree.c 2006-04-08 02:47:42 UTC (rev 14978)
@@ -42,7 +42,7 @@
} 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");
More information about the samba-cvs
mailing list