summaryrefslogtreecommitdiff
path: root/scheduler/type.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-01-09 23:33:14 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2009-01-09 23:33:14 +0000
commitc168a833caab4209bdb0035d8918207d40013591 (patch)
tree494aa63c76138c1d3b70be98feef84ecfa54366f /scheduler/type.c
parent557dde9fbca75e285eb261458d7196a5eae0f4a0 (diff)
downloadcups-c168a833caab4209bdb0035d8918207d40013591.tar.gz
Merge changes from CUPS 1.4svn-r8227.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1113 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'scheduler/type.c')
-rw-r--r--scheduler/type.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/scheduler/type.c b/scheduler/type.c
index 23c1e5b29..c334e99eb 100644
--- a/scheduler/type.c
+++ b/scheduler/type.c
@@ -3,7 +3,7 @@
*
* MIME typing routines for the Common UNIX Printing System (CUPS).
*
- * Copyright 2007-2008 by Apple Inc.
+ * Copyright 2007-2009 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -364,7 +364,10 @@ mimeAddTypeRule(mime_type_t *mt, /* I - Type to add to */
length[num_values] = ptr - value[num_values];
if (*rule != ',')
+ {
+ num_values ++;
break;
+ }
rule ++;
}