3ac146126c6b73e2870939c95e62e843dc09f2d3
galt
  Tue May 30 22:31:24 2017 -0700
Fixes problem where http header gets output twice when calling web.c::webAbort() from hgc.c. fixes #19470

diff --git src/hg/inc/web.h src/hg/inc/web.h
index 2b76e41..30980a3 100644
--- src/hg/inc/web.h
+++ src/hg/inc/web.h
@@ -88,30 +88,37 @@
 void webEndGb();
 /* End HTML that was started with webStartJWest. */
 
 void webStartJWest(struct cart *cart, char *db, char *title);
 /* Start HTML with new banner design by jWest (with modifications). */
 
 void webEndJWest();
 /* End HTML that was started with webStartJWest/ */
 
 void webVaWarn(char *format, va_list args);
 /* Warning handler that closes off web page. */
 
 boolean webGotWarnings();
 /* Return TRUE if webVaWarn has been called. */
 
+void webAbortNoHttpHeader(char* title, char* format, ...)
+/* an abort function that outputs a error page. No http header output. */
+#if defined(__GNUC__)
+__attribute__((format(printf, 2, 3)))
+#endif
+;
+
 void webAbort(char* title, char* format, ...)
 /* an abort function that outputs a error page */
 #if defined(__GNUC__)
 __attribute__((format(printf, 2, 3)))
 #endif
 ;
 
 void printCladeListHtml(char *genome, char *event, char *javascript);
 /* Make an HTML select input listing the clades. */
 
 void printGenomeListHtml(char *db, char *event, char *javascript);
 /* Prints to stdout the HTML to render a dropdown list
  * containing a list of the possible genomes to choose from.
  * param db - a database whose genome will be the default genome.
  *                       If NULL, no default selection.