diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printer_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printer_list.c b/source3/printing/printer_list.c index edc398ba771..f3f00f0c0f5 100644 --- a/source3/printing/printer_list.c +++ b/source3/printing/printer_list.c @@ -293,7 +293,7 @@ static NTSTATUS printer_list_traverse(printer_list_trv_fn_t *fn, } ret = db->traverse(db, fn, private_data); - if (ret != 0) { + if (ret < 0) { return NT_STATUS_UNSUCCESSFUL; } |