summaryrefslogtreecommitdiff
path: root/cgi-bin/template.c
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2011-05-20 07:26:13 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2011-05-20 07:26:13 +0000
commit88f9aafc49f9c4feb55d1d10daa0e494c22946fc (patch)
treeb0084d66ec8925e4e7e04714ce2f59459413be93 /cgi-bin/template.c
parent321d8d57dacf00e4ae19558dc9444519f4d9ade1 (diff)
downloadcups-88f9aafc49f9c4feb55d1d10daa0e494c22946fc.tar.gz
Merge changes from CUPS 1.5b1-r9798.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3275 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cgi-bin/template.c')
-rw-r--r--cgi-bin/template.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cgi-bin/template.c b/cgi-bin/template.c
index 8ec653878..77bfbe3a8 100644
--- a/cgi-bin/template.c
+++ b/cgi-bin/template.c
@@ -3,7 +3,7 @@
*
* CGI template function.
*
- * Copyright 2007-2010 by Apple Inc.
+ * Copyright 2007-2011 by Apple Inc.
* Copyright 1997-2006 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
@@ -423,7 +423,7 @@ cgi_copy(FILE *out, /* I - Output file */
{
if (uriencode)
cgi_puturi(outptr, out);
- else if (!strcasecmp(name, "?cupsdconf_default"))
+ else if (!_cups_strcasecmp(name, "?cupsdconf_default"))
fputs(outptr, stdout);
else
cgi_puts(outptr, out);
@@ -536,16 +536,16 @@ cgi_copy(FILE *out, /* I - Output file */
switch (op)
{
case '<' :
- result = strcasecmp(outptr, compare) < 0;
+ result = _cups_strcasecmp(outptr, compare) < 0;
break;
case '>' :
- result = strcasecmp(outptr, compare) > 0;
+ result = _cups_strcasecmp(outptr, compare) > 0;
break;
case '=' :
- result = strcasecmp(outptr, compare) == 0;
+ result = _cups_strcasecmp(outptr, compare) == 0;
break;
case '!' :
- result = strcasecmp(outptr, compare) != 0;
+ result = _cups_strcasecmp(outptr, compare) != 0;
break;
case '~' :
fprintf(stderr, "DEBUG: Regular expression \"%s\"\n", compare);
@@ -664,7 +664,7 @@ cgi_puts(const char *s, /* I - String to output */
* Pass <A HREF="url"> and </A>, otherwise quote it...
*/
- if (!strncasecmp(s, "<A HREF=\"", 9))
+ if (!_cups_strncasecmp(s, "<A HREF=\"", 9))
{
fputs("<A HREF=\"", out);
s += 9;
@@ -684,7 +684,7 @@ cgi_puts(const char *s, /* I - String to output */
fputs("\">", out);
}
- else if (!strncasecmp(s, "</A>", 4))
+ else if (!_cups_strncasecmp(s, "</A>", 4))
{
fputs("</A>", out);
s += 3;