summaryrefslogtreecommitdiffstats
path: root/source/printing/printing.c
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
commit9402bf0d4cc6d04283ed69a6dedac7767df84626 (patch)
tree77409490e94f79b4c71de9ff3070d873408c1d15 /source/printing/printing.c
parent9b73385d6b90c7806d8ccfc1f2354ede761fad61 (diff)
downloadsamba-9402bf0d4cc6d04283ed69a6dedac7767df84626.tar.gz
samba-9402bf0d4cc6d04283ed69a6dedac7767df84626.tar.xz
samba-9402bf0d4cc6d04283ed69a6dedac7767df84626.zip
r16599: Make it clear to Klocwork we're not dereferencing. Issue #2026.
Jeremy.
Diffstat (limited to 'source/printing/printing.c')
-rw-r--r--source/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index c7ca917af0e..fed9c005d0f 100644
--- a/source/printing/printing.c
+++ b/source/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,