0bfc44e10a7e52c9435a8be1aba871ce19cc509d
braney
  Thu Aug 18 12:30:00 2011 -0700
check to see if hub is okay after adding a myHub  #4679
diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index b2011d3..d069d08 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -98,25 +98,25 @@
 
 unsigned hubFindOrAddUrlInStatusTable(char *database, struct cart *cart,
     char *url, char **errorMessage);
 /* find or add a URL to the status table */
 
 unsigned hubResetError(char *url);
 /* clear the error for this url in the hubStatus table,return the id */
 
 unsigned hubClearStatus(char *url);
 /* drop the information about this url from the hubStatus table,return the id */
 
 void hubDisconnect(struct cart *cart, char *url);
 /* drop the information about this url from the hubStatus table, and 
  * the cart variable the references this hub */
 
-boolean hubCheckForNew(char *database, struct cart *cart);
-/* see if the user just typed in a new hub url, return TRUE if so */
+unsigned hubCheckForNew(char *database, struct cart *cart);
+/* see if the user just typed in a new hub url, return hubId if so */
 
 struct trackHub *trackHubFromId(unsigned hubId);
 /* Given a hub ID number, return corresponding trackHub structure. 
  * ErrAbort if there's a problem. */
 
 void hubSetErrorMessage(char *errorMessage, unsigned id);
 /* set the error message in the hubStatus table */
 #endif /* HUBCONNECT_H */