summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-26 19:31:44 +0000
committerJeremy Allison <jra@samba.org>2003-03-26 19:31:44 +0000
commit4d7388641a087161fb50df5614f437960c8f799c (patch)
tree70e05e520824ba1426ae252ee501a34ce52425d7 /source3/printing/printing.c
parent1a7ed7117c5b3ec674615d24c57816cb7c0c216f (diff)
downloadsamba-4d7388641a087161fb50df5614f437960c8f799c.tar.gz
samba-4d7388641a087161fb50df5614f437960c8f799c.tar.bz2
samba-4d7388641a087161fb50df5614f437960c8f799c.zip
Fix extra NULL arg added during app-head merge.
Jeremy. (This used to be commit 4868633bc8182b939190d3cdb86b24cbdb78b5e1)
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c6
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,