summaryrefslogtreecommitdiff
path: root/systemv/cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'systemv/cancel.c')
-rw-r--r--systemv/cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemv/cancel.c b/systemv/cancel.c
index 9ea549c93..cb5d4f9e5 100644
--- a/systemv/cancel.c
+++ b/systemv/cancel.c
@@ -315,7 +315,7 @@ main(int argc, /* I - Number of command-line arguments */
ippDelete(response);
}
- if (num_dests == 0 && op == IPP_PURGE_JOBS)
+ if (num_dests == 0 && op != IPP_CANCEL_JOB)
{
/*
* Open a connection to the server...