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 | c2cfcb34e1fdef24ac7979bb0f77340d27fc6926 (patch) | |
tree | edc77a38be0b70cd843f9f237c96fa7b7bac1c0a /source3/printing | |
parent | 21fd0a0f6261fb511488e391349ecdb0bf93e12d (diff) | |
download | samba-c2cfcb34e1fdef24ac7979bb0f77340d27fc6926.tar.gz samba-c2cfcb34e1fdef24ac7979bb0f77340d27fc6926.tar.bz2 samba-c2cfcb34e1fdef24ac7979bb0f77340d27fc6926.zip |
SGI compiler fixes.
Jeremy
(This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index f302d357cd..45080f8acc 100644 --- a/source3/printing/nt_printing.c +++ b/source3/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)); |