fixed a bug in the printjob encoding/decoding. We weren't doing it for
authorAndrew Tridgell <tridge@samba.org>
Sun, 31 Aug 1997 02:18:59 +0000 (02:18 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 31 Aug 1997 02:18:59 +0000 (02:18 +0000)
commitf434139087ea45ed1eb578267843943b0f04c94c
tree573b9db9136913863364f057c7fe66c84fc7bd6d
parent06dc98f220dba6d602010df235679c6584cba279
fixed a bug in the printjob encoding/decoding. We weren't doing it for
the print_ functions in reply.c, with the effect that you couldn't
cancel print jobs from smbclient or from older dos clients.

we now use a couple of utility functions printjob_encode() and
printjob_decode() rather than sticking the bitops inline in each
place.

also fixed a bunch of places that used foo%0xFF rather than foo&0xFF

Note that this isn't really me doing the commit, it can't be as I'm
working on my thesis ...
(This used to be commit 3556763be3acbf01c967ee9717943dd44163fb9f)
source3/printing/printing.c
source3/smbd/ipc.c
source3/smbd/reply.c