706c8c2b49fcbd941c9da43c1b8a950c0c33f5ba galt Mon Feb 10 23:54:13 2014 -0800 now converting hgsid and hguid to strings. when the hgsid cart var or hguid cookie is not found it returns NULL instead of 0. diff --git src/hg/lib/hgFind.c src/hg/lib/hgFind.c index 33f300e..f7f362d 100644 --- src/hg/lib/hgFind.c +++ src/hg/lib/hgFind.c @@ -837,31 +837,31 @@ return (findKnownGeneDescLike(db, spec, hgp, tableName)); } static char *getUiUrl(struct cart *cart) /* Get rest of UI from browser. */ { static struct dyString *dy = NULL; static char *s = NULL; if (dy == NULL) { dy = newDyString(64); if (cart != NULL) - dyStringPrintf(dy, "%s=%u", cartSessionVarName(), cartSessionId(cart)); + dyStringPrintf(dy, "%s=%s", cartSessionVarName(), cartSessionId(cart)); s = dy->string; } return s; } static void singlePos(struct hgPositions *hgp, char *tableDescription, char *posDescription, char *tableName, char *posName, char *browserName, char *chrom, int start, int end) /* Fill in pos for simple case single position. */ { struct hgPosTable *table; struct hgPos *pos; AllocVar(table);