summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-04-10 19:34:52 +0000
committerJeremy Allison <jra@samba.org>2003-04-10 19:34:52 +0000
commit6e0bd81f44ff17d45cc375a379fef956c310500d (patch)
tree91b34d1ef4995d3149e41dcdf8fb6e45e5844e14 /source3/printing
parent2962bec1ab9d916928777f607334122ea4dbbaca (diff)
downloadsamba-6e0bd81f44ff17d45cc375a379fef956c310500d.tar.gz
samba-6e0bd81f44ff17d45cc375a379fef956c310500d.tar.bz2
samba-6e0bd81f44ff17d45cc375a379fef956c310500d.zip
Grr. Get rid of one of the extra NULL's that crept in from app-head.
Spotted by Andrew Esh. Jeremy. (This used to be commit 9e6e6c3f50844cf4322d6dd193c4e24b76bae9ba)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index e788645306..79cab3d9fa 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -855,7 +855,7 @@ static void store_queue_struct(struct tdb_print_db *pdb, struct traverse_struct
/* Work out the size. */
data.dsize = 0;
- data.dsize += tdb_pack(NULL, 0, NULL, "d", qcount);
+ data.dsize += tdb_pack(NULL, 0, "d", qcount);
for (i = 0; i < pts->qcount; i++) {
data.dsize += tdb_pack(NULL, 0, "ddddddff",