diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 170bb9e6bd..82ab5f4d3c 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1940,13 +1940,13 @@ static BOOL api_WPrintQueuePurge(connection_struct *conn,uint16 vuid, char *para switch (function) { case 74: /* Pause queue */ - if (print_queue_pause(NULL, snum)) errcode = NERR_Success; + if (print_queue_pause(NULL, snum, &errcode)) errcode = NERR_Success; break; case 75: /* Resume queue */ - if (print_queue_resume(NULL, snum)) errcode = NERR_Success; + if (print_queue_resume(NULL, snum, &errcode)) errcode = NERR_Success; break; case 103: /* Purge */ - if (print_queue_purge(NULL, snum)) errcode = NERR_Success; + if (print_queue_purge(NULL, snum, &errcode)) errcode = NERR_Success; break; } |