diff options
author | Jeremy Allison <jra@samba.org> | 2003-03-26 19:35:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-03-26 19:35:37 +0000 |
commit | 5ab2abd707b3a81b8c28813ebe2fd0b2ae1112a7 (patch) | |
tree | 4c74bfdb6760fa4f09a527e007c61fc249d4a7ef /source3 | |
parent | a50253f744fe704e4b16cc5cb790b6796bd27fac (diff) | |
download | samba-5ab2abd707b3a81b8c28813ebe2fd0b2ae1112a7.tar.gz samba-5ab2abd707b3a81b8c28813ebe2fd0b2ae1112a7.tar.bz2 samba-5ab2abd707b3a81b8c28813ebe2fd0b2ae1112a7.zip |
Fix extra NULL arg added during app-head merge.
Jeremy.
(This used to be commit b2ef052adad01c37f0fd4b9b82a16a9989d57082)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/printing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index da29eab9f2..b6c4969761 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -838,7 +838,7 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct data.dsize += tdb_pack(NULL, 0, NULL, "d", qcount); for (i = 0; i < pts->qcount; i++) { - data.dsize += tdb_pack(NULL, 0, NULL, "ddddddff", + data.dsize += tdb_pack(NULL, 0, "ddddddff", (uint32)queue[i].job, (uint32)queue[i].size, (uint32)queue[i].page_count, @@ -853,9 +853,9 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct return; len = 0; - len += tdb_pack(data.dptr + len, data.dsize - len, NULL, "d", qcount); + len += tdb_pack(data.dptr + len, data.dsize - len, "d", qcount); for (i = 0; i < pts->qcount; i++) { - len += tdb_pack(data.dptr + len, data.dsize - len, NULL, "ddddddff", + len += tdb_pack(data.dptr + len, data.dsize - len, "ddddddff", (uint32)queue[i].job, (uint32)queue[i].size, (uint32)queue[i].page_count, |