]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cgi-bin/help.c
Load cups into easysw/current.
[thirdparty/cups.git] / cgi-bin / help.c
index 6dc512eadfbd6bd1e8762c8e9d52c544661dc257..0d554de71108bdf4395f1e5a00891add16127ece 100644 (file)
@@ -187,7 +187,8 @@ main(int  argc,                             /* I - Number of command-line arguments */
   topic = cgiGetVariable("TOPIC");
   si    = helpSearchIndex(hi, query, topic, helpfile);
 
-  fprintf(stderr, "DEBUG: query=\"%s\", topic=\"%s\"\n", query, topic);
+  fprintf(stderr, "DEBUG: query=\"%s\", topic=\"%s\"\n",
+          query ? query : "(null)", topic ? topic : "(null)");
 
   if (si)
   {