src/hg/lib/botDelay.c 1.14

1.14 2009/03/31 22:38:57 galt
use standard function in hui to get central.cookie - note RR does not set central.cookie, so it has to provide the default "hguid"
Index: src/hg/lib/botDelay.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/botDelay.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -b -B -U 4 -r1.13 -r1.14
--- src/hg/lib/botDelay.c	13 Nov 2008 19:41:30 -0000	1.13
+++ src/hg/lib/botDelay.c	31 Mar 2009 22:38:57 -0000	1.14
@@ -6,8 +6,9 @@
 #include "net.h"
 #include "portable.h"
 #include "hgConfig.h"
 #include "cheapcgi.h"
+#include "hui.h"
 #include "botDelay.h"
 
 static char const rcsid[] = "$Id$";
 
@@ -60,9 +61,9 @@
 static char *getCookieUser()
 /* get user from hguid cookie */
 {
 char *user = NULL;
-char *centralCookie = cfgOption("central.cookie");
+char *centralCookie = hUserCookie();
 
 if (centralCookie)
     user = findCookieData(centralCookie);