printing: explicitly clear PUBLISHED attribute
authorDavid Disseldorp <ddiss@samba.org>
Wed, 29 May 2013 08:43:32 +0000 (10:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 3 Jun 2013 12:10:07 +0000 (14:10 +0200)
commitf9b6b09e4e4e15257ce0a21caa46e26e119667d4
treec0ce6f3fc0aba862b94995b374a21d67aed2797e
parent1f269fcc6e2bb46b765d547eb1add2bc52272c47
printing: explicitly clear PUBLISHED attribute

Currently nt_printer_publish(DSPRINT_UNPUBLISH) flips (via xor) the
info2->attributes PRINTER_ATTRIBUTE_PUBLISHED flag, rather than
explicitly clearing it.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/printing/nt_printing_ads.c