More merging of printing stuff from appliance.
authorTim Potter <tpot@samba.org>
Wed, 8 Nov 2000 00:16:38 +0000 (00:16 +0000)
committerTim Potter <tpot@samba.org>
Wed, 8 Nov 2000 00:16:38 +0000 (00:16 +0000)
(This used to be commit 18fa724a7969666dd5aa176af187054abc94bfd3)

source3/smbd/lanman.c

index 3b50960468614a1f051c41e41ba9585e9c7b4139..944a187ccc9a6a0622ced57574237cbbd6c08da3 100644 (file)
@@ -1892,15 +1892,15 @@ static BOOL api_RDosPrintJobDel(connection_struct *conn,uint16 vuid, char *param
        
        switch (function) {
        case 81:                /* delete */ 
-               if (print_job_delete(&current_user, jobid)) 
+               if (print_job_delete(&current_user, jobid, &errcode)) 
                        errcode = NERR_Success;
                break;
        case 82:                /* pause */
-               if (print_job_pause(&current_user, jobid)) 
+               if (print_job_pause(&current_user, jobid, &errcode)) 
                        errcode = NERR_Success;
                break;
        case 83:                /* resume */
-               if (print_job_resume(&current_user, jobid)) 
+               if (print_job_resume(&current_user, jobid, &errcode)) 
                        errcode = NERR_Success;
                break;
        }