diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/tdb/tdbtool.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/tdb/tdbtool.c b/source3/tdb/tdbtool.c index 4198d12418..31ecd17a0c 100644 --- a/source3/tdb/tdbtool.c +++ b/source3/tdb/tdbtool.c @@ -253,7 +253,10 @@ static void show_tdb(void) key.dsize = strlen(k)+1; dbuf = tdb_fetch(tdb, key); - if (!dbuf.dptr) terror("fetch failed"); + if (!dbuf.dptr) { + terror("fetch failed"); + return; + } /* printf("%s : %*.*s\n", k, (int)dbuf.dsize, (int)dbuf.dsize, dbuf.dptr); */ print_rec(tdb, key, dbuf, NULL); } |