1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-18 06:04:06 +03:00

Fix extra NULL arg added during app-head merge.

Jeremy.
(This used to be commit 4868633bc8182b939190d3cdb86b24cbdb78b5e1)
This commit is contained in:
Jeremy Allison 2003-03-26 19:31:44 +00:00
parent 1a7ed7117c
commit 4d7388641a

View File

@ -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,