a44421a79fb36cc2036fe116b97ea3bc9590cd0c
braney
Fri Dec 2 09:34:39 2011 -0800
removed rcsid (#295)
diff --git src/hg/cartReset/cartReset.c src/hg/cartReset/cartReset.c
index 5cab0e2..f5b8db3 100644
--- src/hg/cartReset/cartReset.c
+++ src/hg/cartReset/cartReset.c
@@ -1,41 +1,40 @@
/* cartReset - Reset cart. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "cheapcgi.h"
#include "htmshell.h"
#include "hui.h"
#include "cart.h"
-static char const rcsid[] = "$Id: cartReset.c,v 1.10 2007/05/23 23:09:44 galt Exp $";
static char *defaultDestination = "../cgi-bin/hgGateway";
void doMiddle()
/* cartReset - Reset cart. */
{
char *destination = cgiUsualString("destination", defaultDestination);
cartResetInDb(hUserCookie());
printf("Your settings are now reset to defaults.
");
printf("You will be automatically redirected to the gateway page in 2 seconds,\n"
" or you can
click here to continue.\n",
destination);
}
int main(int argc, char *argv[])
/* Process command line. */
{
struct dyString *headText = newDyString(512);
char *destination = cgiUsualString("destination", defaultDestination);
dyStringPrintf(headText,
""
""
""
,destination);
htmShellWithHead("Reset Cart", headText->string, doMiddle, NULL);
dyStringFree(&headText);
return 0;
}