fix printer_list_traverse()

David Disseldorp ddiss at suse.de
Mon Dec 20 08:39:58 MST 2010


Hi,

The tdb traverse function returns the number of elements traversed,
or less than zero on error, printer_list_traverse() is incorrectly
checking for non-zero return.

Cheers, David


The following changes since commit
9dce43a809eae4b44bf1e2b301844a0753c037e9:

  s4-smbtorture: run the winreg tests also against an added driver.
  (2010-12-20 14:31:43 +0100)

are available in the git repository at:
  git://oss.sgi.com/ddiss/samba fix_printer_list_traverse

David Disseldorp (1):
      s3-printing: fix printer_list_traverse()

 source3/printing/printer_list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


More information about the samba-technical mailing list