From 1e4aaa5a7210f6da9762bd12811841668d5fdc3f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 31 Mar 2003 08:14:37 +0000 Subject: Fix a botched merge from appliance-head... We have an extra NULL here, which is (if I understand correctly) related to a optional 'charset conversion' function. In any case, as this is a variable args length function, the compiler didn't pick it up. Would it be possible to change applicance_head (or even HEAD) in such a way that this extra arg would cause a warning? Finding this by testing is getting painful... Andrew Bartlett (This used to be commit b4e52d90f8a207b5cd7415abb5915c3ac0c65dfc) --- source3/printing/printing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing/printing.c') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index b6c4969761..cff6eb62ef 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -835,7 +835,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", -- cgit