]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - man/mantohtml.c
Bump the default Timeout to 15 minutes as well (Issue #5570)
[thirdparty/cups.git] / man / mantohtml.c
index 0f46848311f73750d978809ddc4c12b7f2a3a771..2a9353a9f76500747dcae7660205ec427c0245e8 100644 (file)
@@ -1,14 +1,10 @@
 /*
  * Man page to HTML conversion program.
  *
- * Copyright 2007-2010, 2014 by Apple Inc.
+ * Copyright 2007-2017 by Apple Inc.
  * Copyright 2004-2006 by Easy Software Products.
  *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file.  If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
  */
 
 /*
@@ -1153,8 +1149,11 @@ html_fputs(const char *s,                /* I  - String */
       }
       else
       {
-        if (*s != '\\' && *s == '\"' && *s == '\'' && *s == '-')
+        if (*s != '\\' && *s != '\"' && *s != '\'' && *s != '-')
+        {
           fprintf(stderr, "mantohtml: Unrecognized escape \"\\%c\" ignored.\n", *s);
+          html_putc('\\', fp);
+        }
 
         html_putc(*s++, fp);
       }