summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-01 17:03:23 +0000
committerGerald Carter <jerry@samba.org>2004-03-01 17:03:23 +0000
commitfcab2e5cfb524afa327fbafa2915c73527f14ea6 (patch)
tree2cdef5f2897e57adec7f40f0651c0288ec304c32 /source3/printing/printing.c
parenteebc94d84af736bb1fdd8e0c511237b0da978e7a (diff)
downloadsamba-fcab2e5cfb524afa327fbafa2915c73527f14ea6.tar.gz
samba-fcab2e5cfb524afa327fbafa2915c73527f14ea6.tar.bz2
samba-fcab2e5cfb524afa327fbafa2915c73527f14ea6.zip
BUG 1147; bad pointer case in get_stored_queue_info() causing seg fault
(This used to be commit eb8a8c290f893b6ffa3d16e282829230be56b212)
Diffstat (limited to 'source3/printing/printing.c')
-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 1f0bb1e074..c453eb796c 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2183,7 +2183,7 @@ static BOOL get_stored_queue_info(struct tdb_print_db *pdb, int snum, int *pcoun
uint32 jobid;
struct printjob *pjob;
- jobid = IVAL(&cgdata.dptr, i*4);
+ jobid = IVAL(cgdata.dptr, i*4);
DEBUG(5,("get_stored_queue_info: changed job = %u\n", (unsigned int)jobid));
pjob = print_job_find(snum, jobid);
if (!pjob) {