]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/help-index.c
License change: Apache License, Version 2.0.
[thirdparty/cups.git] / cgi-bin / help-index.c
index 2774437d47f1773d8117286bb0c082083a1867e1..db7d16124e6be84834410ebc8f305f51bee2081f 100644 (file)
@@ -1,16 +1,10 @@
 /*
- * "$Id$"
- *
  * Online help index routines for CUPS.
  *
- * Copyright 2007-2014 by Apple Inc.
+ * Copyright 2007-2015 by Apple Inc.
  * Copyright 1997-2007 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.
  */
 
 /*
@@ -1220,7 +1214,7 @@ help_new_node(const char   *filename,     /* I - Filename */
 
   n->filename = strdup(filename);
   n->anchor   = anchor ? strdup(anchor) : NULL;
-  n->section  = (section && *section) ? strdup(section) : NULL;
+  n->section  = *section ? strdup(section) : NULL;
   n->text     = strdup(text);
   n->mtime    = mtime;
   n->offset   = offset;
@@ -1303,8 +1297,3 @@ help_sort_words(help_word_t *w1,  /* I - Second word */
 
   return (_cups_strcasecmp(w1->text, w2->text));
 }
-
-
-/*
- * End of "$Id$".
- */