src/hg/hgGetAnn/hgGetAnn.c 1.7

1.7 2010/02/12 17:56:12 angie
Added cgiSpoof so the new cgiOptionalString in hgFind.c doesn't make cgiInit freak out.
Index: src/hg/hgGetAnn/hgGetAnn.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgGetAnn/hgGetAnn.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/hg/hgGetAnn/hgGetAnn.c	3 Sep 2008 19:18:55 -0000	1.6
+++ src/hg/hgGetAnn/hgGetAnn.c	12 Feb 2010 17:56:12 -0000	1.7
@@ -5,8 +5,9 @@
 #include "verbose.h"
 #include "hdb.h"
 #include "hgFind.h"
 #include "jksql.h"
+#include "cheapcgi.h"
 
 static char const rcsid[] = "$Id$";
 
 void usage(char *msg)
@@ -526,7 +527,8 @@
 keepBin = optionExists("keepBin");
 noMatchOk = optionExists("noMatchOk");
 noRandom = optionExists("noRandom");
 
+cgiSpoof(&argc, argv);
 hgGetAnn(argv[1], argv[2], argv[3], argv[4]);
 return 0;
 }