7111780f83d4ee0fb522369fd08a6b9b6577c9d8
larrym
  Thu Mar 22 15:09:13 2012 -0700
cleanup message in cgiBadVar (from code review with Jim)
diff --git src/lib/cheapcgi.c src/lib/cheapcgi.c
index 5fb62e8..dd05761 100644
--- src/lib/cheapcgi.c
+++ src/lib/cheapcgi.c
@@ -734,33 +734,31 @@
 static char *findVarData(char *varName)
 /* Get the string associated with varName from the query string. */
 {
 struct cgiVar *var;
 
 initCgiInput();
 if ((var = hashFindVal(inputHash, varName)) == NULL)
     return NULL;
 return var->val;
 }
 
 void cgiBadVar(char *varName)
 /* Complain about a variable that's not there. */
 {
 if (varName == NULL) varName = "";
-errAbort("Sorry, didn't find input variable %s\n"
-        "Probably the web page didn't mean to call this program.",
-        varName);
+errAbort("Sorry, didn't find CGI input variable '%s'", varName);
 }
 
 static char *mustFindVarData(char *varName)
 /* Find variable and associated data or die trying. */
 {
 char *res = findVarData(varName);
 if (res == NULL)
     cgiBadVar(varName);
 return res;
 }
 
 char *javaScriptLiteralEncode(char *inString)
 /* Use backslash escaping on newline
  * and quote chars, backslash and others.
  * Intended that the encoded string will be