6f3056fb1c519aeb262d6c1cc9f352652e3086ae
max
  Mon May 27 07:49:54 2024 -0700
not setting pix if run from command line, email from Lou that qa scripts are not running anymore

diff --git src/inc/cheapcgi.h src/inc/cheapcgi.h
index fad26a0..b9c9099 100644
--- src/inc/cheapcgi.h
+++ src/inc/cheapcgi.h
@@ -514,30 +514,33 @@
 void cgiEncodeIntoDy(char *var, char *val, struct dyString *dy);
 /* Add a CGI-encoded &var=val string to dy. */
 
 boolean cgiSpoof(int *pArgc, char *argv[]);
 /* Use the command line to set up things as if we were a CGI program.
  * User types in command line (assuming your program called cgiScript)
  * like:
  *        cgiScript nonCgiArg1 var1=value1 var2=value2 var3=value3 nonCgiArg2
  * or like
  *        cgiScript nonCgiArg1 var1=value1&var2=value2&var3=value3 nonCgiArg2
  * (The non-cgi arguments can occur anywhere.  The cgi arguments (all containing
  * the character '=') are erased from argc/argv.  Normally you call this
  *        cgiSpoof(&argc, argv);
  */
 
+boolean cgiWasSpoofed();
+/* was the CGI run from the command line? */
+
 boolean cgiFromCommandLine(int *pArgc, char *argv[], boolean preferWeb);
 /* Use the command line to set up things as if we were a CGI program.
  * If preferWeb is TRUE will choose real CGI variables over command
  * line ones. */
 
 void useTempFile();
 /* tell cheapcgi to use temp files */
 
 boolean cgiFromFile(char *fileName);
 /* Set up a cgi environment using parameters stored in a file.
  * Takes file with arguments in the form:
  *       argument1=someVal
  *       # This is a comment
  *       argument2=someOtherVal
  *       ...