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 | b2ef052adad01c37f0fd4b9b82a16a9989d57082 (patch) | |
tree | 040af8044a20b137940d21b388835ac30c741847 /source/printing | |
parent | 14499e64555481fdd5fa8ba656a4cba9a597a86b (diff) | |
download | samba-b2ef052adad01c37f0fd4b9b82a16a9989d57082.tar.gz samba-b2ef052adad01c37f0fd4b9b82a16a9989d57082.tar.xz samba-b2ef052adad01c37f0fd4b9b82a16a9989d57082.zip |
Fix extra NULL arg added during app-head merge.
Jeremy.
Diffstat (limited to 'source/printing')
-rw-r--r-- | source/printing/printing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c index da29eab9f2d..b6c4969761b 100644 --- a/source/printing/printing.c +++ b/source/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, |