summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-01-11 12:33:22 +0100
committerGünther Deschner <gd@samba.org>2010-01-11 12:43:07 +0100
commit4aefb33b9fa4b93fea7035c505e480949bfb843b (patch)
treec13b1710b4e5885fc569ee04a28000dac03c8eea /testprogs
parent0ad83813ee5cbebd20d930356be61a9ebdddad46 (diff)
downloadsamba-4aefb33b9fa4b93fea7035c505e480949bfb843b.tar.gz
samba-4aefb33b9fa4b93fea7035c505e480949bfb843b.tar.bz2
samba-4aefb33b9fa4b93fea7035c505e480949bfb843b.zip
testprogs: add more error codes to spoolss test.
Guenther
Diffstat (limited to 'testprogs')
-rw-r--r--testprogs/win32/spoolss/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testprogs/win32/spoolss/error.c b/testprogs/win32/spoolss/error.c
index e523c15864..ba15c1e62d 100644
--- a/testprogs/win32/spoolss/error.c
+++ b/testprogs/win32/spoolss/error.c
@@ -25,6 +25,8 @@ const char *errstr(DWORD error)
static char tmp[20];
switch (error) {
+ case ERROR_FILE_NOT_FOUND:
+ return "ERROR_FILE_NOT_FOUND";
case ERROR_ACCESS_DENIED:
return "ERROR_ACCESS_DENIED";
case ERROR_INVALID_PARAMETER:
@@ -105,6 +107,8 @@ const char *errstr(DWORD error)
case ERROR_PRINT_JOB_RESTART_REQUIRED:
return "ERROR_PRINT_JOB_RESTART_REQUIRED";
#endif
+ case ERROR_CANCELLED:
+ return "ERROR_CANCELLED";
default:
break;
}