summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 02:02:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:02 -0500
commitfc77e332e3be72d208ff33aa6ea0849b5a62b349 (patch)
tree47665ca59b90471a711cf80cd78ad474538c1066 /source3/printing
parent9f4c335401e5e34f290295c0b36e193d0b0f43ff (diff)
downloadsamba-fc77e332e3be72d208ff33aa6ea0849b5a62b349.tar.gz
samba-fc77e332e3be72d208ff33aa6ea0849b5a62b349.tar.bz2
samba-fc77e332e3be72d208ff33aa6ea0849b5a62b349.zip
r16599: Make it clear to Klocwork we're not dereferencing. Issue #2026.
Jeremy. (This used to be commit 9402bf0d4cc6d04283ed69a6dedac7767df84626)
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 c7ca917af0..fed9c005d0 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1480,7 +1480,7 @@ static void print_queue_update(int snum, BOOL force)
/* get the length */
- len = tdb_pack( buffer, len, "fdPP",
+ len = tdb_pack( NULL, 0, "fdPP",
sharename,
type,
lpqcommand,