summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-09 16:03:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:51 -0500
commit839dc8e59b7118aa758cb69e8fc738fae61965b6 (patch)
treea611386c231109562f9496d1e513779b50295bc8
parenta8360c4f6b40a669abf82a759c398561bc97aaa6 (diff)
downloadsamba-839dc8e59b7118aa758cb69e8fc738fae61965b6.tar.gz
samba-839dc8e59b7118aa758cb69e8fc738fae61965b6.tar.bz2
samba-839dc8e59b7118aa758cb69e8fc738fae61965b6.zip
r6683: remove log messages about unknown specversions since I think we are fairly safe at this point
(This used to be commit 6eaefa1a9a47421e20e346c652c31fd524db8878)
-rw-r--r--source3/rpc_parse/parse_spoolss.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/source3/rpc_parse/parse_spoolss.c b/source3/rpc_parse/parse_spoolss.c
index 160d9c78b1..6c2d6b4978 100644
--- a/source3/rpc_parse/parse_spoolss.c
+++ b/source3/rpc_parse/parse_spoolss.c
@@ -673,25 +673,6 @@ BOOL spoolss_io_devmode(const char *desc, prs_struct *ps, int depth, DEVICEMODE
if (!prs_uint16("specversion", ps, depth, &devmode->specversion))
return False;
- /* Sanity Check - look for unknown specversions, but don't fail if we see one.
- Let the size determine that */
-
- switch (devmode->specversion) {
- /* list of observed spec version's */
- case 0x0320:
- case 0x0400:
- case 0x0401:
- case 0x040d:
- break;
-
- default:
- DEBUG(0,("spoolss_io_devmode: Unknown specversion in devicemode [0x%x]\n",
- devmode->specversion));
- DEBUG(0,("spoolss_io_devmode: please report to samba-technical@samba.org!\n"));
- break;
- }
-
-
if (!prs_uint16("driverversion", ps, depth, &devmode->driverversion))
return False;
if (!prs_uint16("size", ps, depth, &devmode->size))