From 91cd9a47974e0099d550c88ee646ee3b1f44df72 Mon Sep 17 00:00:00 2001 From: David Disseldorp Date: Wed, 8 Feb 2012 17:03:06 +0100 Subject: s3-printing: remove unused print_job_fname() --- source3/printing/printing.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'source3/printing') diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 69281846df..4d0178f185 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -1969,22 +1969,7 @@ bool print_job_exists(const char* sharename, uint32 jobid) } /**************************************************************************** - Give the filename used for a jobid. - Only valid for the process doing the spooling and when the job - has not been spooled. -****************************************************************************/ - -char *print_job_fname(const char* sharename, uint32 jobid) -{ - struct printjob *pjob = print_job_find(NULL, sharename, jobid); - if (!pjob || pjob->spooled || pjob->pid != getpid()) - return NULL; - return pjob->filename; -} - - -/**************************************************************************** - Give the filename used for a jobid. + Return the device mode asigned to a specific print job. Only valid for the process doing the spooling and when the job has not been spooled. ****************************************************************************/ -- cgit