6a3da5554691eb72086ab94dcf665efb524f8899 angie Mon Jul 11 09:28:18 2011 -0700 Fix stricter-gcc warning: pass in a proper format string instead of a plain old char * variable. diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 37652d4..6396db8 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -227,31 +227,31 @@ printf("
Completed\n");
}
void doMiddle(struct cart *theCart)
/* Write header and body of html page. */
{
cart = theCart;
setUdcCacheDir();
if (cartVarExists(cart, hgHubDoClear))
{
doClearHub(cart);
cartWebEnd();
return;
}
-cartWebStart(cart, NULL, pageTitle);
+cartWebStart(cart, NULL, "%s", pageTitle);
jsIncludeFile("jquery.js", NULL);
jsIncludeFile("utils.js", NULL);
jsIncludeFile("jquery-ui.js", NULL);
webIncludeResourceFile("jquery-ui.css");
jsIncludeFile("ajax.js", NULL);
jsIncludeFile("hgHubConnect.js", NULL);
webIncludeResourceFile("hgHubConnect.css");
printf(" \n");
printf(
"Track data hubs are collections of tracks from outside of UCSC that "
"can be imported into the Genome Browser. To import a public hub check "
"the box in the list below. "