X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=blobdiff_plain;f=cgi-bin%2Fhelp.c;h=0d554de71108bdf4395f1e5a00891add16127ece;hp=6dc512eadfbd6bd1e8762c8e9d52c544661dc257;hb=f301802fc285c5ec9effadfbf13de653822dddd8;hpb=a9252913e79774ff099dcc33283c1fb1ae3cb61f diff --git a/cgi-bin/help.c b/cgi-bin/help.c index 6dc512ead..0d554de71 100644 --- a/cgi-bin/help.c +++ b/cgi-bin/help.c @@ -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) {