diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:24 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:22 +0200 |
commit | 0f87084f9c9c259db9bf19001221b8544951bb64 (patch) | |
tree | b470b92936388008575090f9ebe34b30685ba34a /source3/printing/printing.c | |
parent | 052979b7b72bb8d8350fd09460c5f24e9dd2c57d (diff) | |
download | samba-0f87084f9c9c259db9bf19001221b8544951bb64.tar.gz |
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/printing/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r-- | source3/printing/printing.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index e7e6c6dbf71..c6c42f3b0b1 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -2345,14 +2345,14 @@ WERROR print_job_pause(const struct auth_session_info *server_info, if (!pjob || !server_info) { DEBUG(10, ("print_job_pause: no pjob or user for jobid %u\n", (unsigned int)jobid )); - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } if (!pjob->spooled || pjob->sysjob == -1) { DEBUG(10, ("print_job_pause: not spooled or bad sysjob = %d for jobid %u\n", (int)pjob->sysjob, (unsigned int)jobid )); - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } @@ -2372,7 +2372,7 @@ WERROR print_job_pause(const struct auth_session_info *server_info, ret = (*(current_printif->job_pause))(snum, pjob); if (ret != 0) { - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } @@ -2412,14 +2412,14 @@ WERROR print_job_resume(const struct auth_session_info *server_info, if (!pjob || !server_info) { DEBUG(10, ("print_job_resume: no pjob or user for jobid %u\n", (unsigned int)jobid )); - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } if (!pjob->spooled || pjob->sysjob == -1) { DEBUG(10, ("print_job_resume: not spooled or bad sysjob = %d for jobid %u\n", (int)pjob->sysjob, (unsigned int)jobid )); - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } @@ -2438,7 +2438,7 @@ WERROR print_job_resume(const struct auth_session_info *server_info, ret = (*(current_printif->job_resume))(snum, pjob); if (ret != 0) { - werr = WERR_INVALID_PARAM; + werr = WERR_INVALID_PARAMETER; goto err_out; } @@ -3330,7 +3330,7 @@ WERROR print_queue_pause(const struct auth_session_info *server_info, unbecome_root(); if (ret != 0) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } /* force update the database */ @@ -3366,7 +3366,7 @@ WERROR print_queue_resume(const struct auth_session_info *server_info, unbecome_root(); if (ret != 0) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } /* make sure the database is up to date */ |