diff options
author | Herb Lewis <herb@samba.org> | 2001-06-26 20:23:45 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-06-26 20:23:45 +0000 |
commit | 45bf995bf62aa6cc176d57e2f954cc2d379717ef (patch) | |
tree | 505ee66602ac21e4f3e6e8afa244723ffe4d9e2a /source/printing | |
parent | 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8 (diff) | |
download | samba-45bf995bf62aa6cc176d57e2f954cc2d379717ef.tar.gz samba-45bf995bf62aa6cc176d57e2f954cc2d379717ef.tar.xz samba-45bf995bf62aa6cc176d57e2f954cc2d379717ef.zip |
SGI compiler fixes.
Jeremy
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/nt_printing.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c index f302d357cda..45080f8acc2 100644 --- a/source/printing/nt_printing.c +++ b/source/printing/nt_printing.c @@ -2897,6 +2897,12 @@ BOOL printer_driver_in_use (char *arch, char *driver) info.parameters); safe_free(dbuf.dptr); + + if (ret == -1) { + DEBUG (0,("printer_driver_in_use: tdb_unpack failed for printer %s\n", + info.printername)); + continue; + } DEBUG (10,("printer_driver_in_use: Printer - %s (%s)\n", info.printername, info.drivername)); |