4eea78d842089340a2d2435fce4fd96d87289e58 angie Wed Jul 6 10:24:34 2011 -0700 Getting rid of compile warning on Ubuntu (format arg has to be a proper format string). diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 0fd4aaa..da7fe52 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -227,31 +227,31 @@ errAbort("must specify url in %s\n", hgHubDataText); printf("
Completed\n");
 }
 
 void doMiddle(struct cart *theCart)
 /* Write header and body of html page. */
 {
 cart = theCart;
 setUdcCacheDir();
 if (cartVarExists(cart, hgHubDoAdd))
     doAddUnlistedHub(cart, NULL);
 else if (cartVarExists(cart, hgHubDoClear))
     doClearHub(cart);
 else
     {
-    cartWebStart(cart, NULL, pageTitle);
+    cartWebStart(cart, NULL, "%s", pageTitle);
 
     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. " "After import the hub will show up as a group of tracks with its own blue " "bar and label underneath the main browser graphic, and in the configure page.

\n" ); makeGenomePrint(); hubCheckForNew(database, cart); printf("

"); printf("

\n", destUrl); cartSaveSession(cart); hgHubConnectPublic(); printf("
Contact genome@soe.ucsc.edu to add a public hub.

\n");