Grr. Get rid of one of the extra NULL's that crept in from app-head.
authorJeremy Allison <jra@samba.org>
Thu, 10 Apr 2003 19:34:52 +0000 (19:34 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 10 Apr 2003 19:34:52 +0000 (19:34 +0000)
Spotted by Andrew Esh.
Jeremy.
(This used to be commit 9e6e6c3f50844cf4322d6dd193c4e24b76bae9ba)

source3/printing/printing.c

index e78864530665450ef025f52aef73636225e94bdd..79cab3d9faed163a2f057743ec07e7a0618b4a05 100644 (file)
@@ -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",