git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0ad8381
)
testprogs: add more error codes to spoolss test.
author
Günther Deschner
<gd@samba.org>
Mon, 11 Jan 2010 11:33:22 +0000
(12:33 +0100)
committer
Günther Deschner
<gd@samba.org>
Mon, 11 Jan 2010 11:43:07 +0000
(12:43 +0100)
Guenther
testprogs/win32/spoolss/error.c
patch
|
blob
|
history
diff --git
a/testprogs/win32/spoolss/error.c
b/testprogs/win32/spoolss/error.c
index e523c1586412faa06b82ce4dc480f0b949d81aa6..ba15c1e62d48190f3e1e7fdf253fa9289b2c3c6a 100644
(file)
--- 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) {
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:
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_PRINT_JOB_RESTART_REQUIRED:
return "ERROR_PRINT_JOB_RESTART_REQUIRED";
#endif
+ case ERROR_CANCELLED:
+ return "ERROR_CANCELLED";
default:
break;
}
default:
break;
}