Don't print the table header for every entry.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12875
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
- d_printf("%-50s %-40s When cached\n", "SID", "Name");
- d_printf("------------------------------------------------------------"
- "------------------------------------------------------------"
- "----\n");
d_printf("%-50s %-40s %s\n",
sid_str,
name,
d_printf("%-50s %-40s %s\n",
sid_str,
name,
+ d_printf("%-50s %-40s When cached\n", "SID", "Name");
+ d_printf("------------------------------------------------------------"
+ "------------------------------------------------------------"
+ "----\n");
+
ret = netsamlog_cache_for_all(netsamlog_cache_for_all_cb, c);
if (ret == -1) {
return -1;
ret = netsamlog_cache_for_all(netsamlog_cache_for_all_cb, c);
if (ret == -1) {
return -1;