From 628f9bee05b96b806225f3494c05c3a86acb1a1f Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 5 May 2010 08:56:46 -0400 Subject: s3-spoolss: Use WERROR for print_job_delete. And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index a98274bcad..6420b15474 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4743,8 +4743,8 @@ char *print_job_fname(const char* sharename, uint32 jobid); struct spoolss_DeviceMode *print_job_devmode(const char* sharename, uint32 jobid); bool print_job_set_name(const char *sharename, uint32 jobid, const char *name); bool print_job_get_name(TALLOC_CTX *mem_ctx, const char *sharename, uint32_t jobid, char **name); -bool print_job_delete(struct auth_serversupplied_info *server_info, int snum, - uint32 jobid, WERROR *errcode); +WERROR print_job_delete(struct auth_serversupplied_info *server_info, + int snum, uint32 jobid); bool print_job_pause(struct auth_serversupplied_info *server_info, int snum, uint32 jobid, WERROR *errcode); bool print_job_resume(struct auth_serversupplied_info *server_info, int snum, -- cgit