502c762bbc9ff5804ff13709309d59aa900255d0
galt
  Thu Oct 27 14:06:39 2011 -0700
oops that must have been the wrong unused instance of ct being reported by gcc 4.6 warning
diff --git src/lib/cheapcgi.c src/lib/cheapcgi.c
index b8207f7..089bf29 100644
--- src/lib/cheapcgi.c
+++ src/lib/cheapcgi.c
@@ -335,32 +335,32 @@
 //fprintf(stderr,"Alternate Header Text:\n%s",dy->string);
 //fflush(stderr);
 mb = initMimeBuf(STDIN_FILENO);
 //debug
 //fprintf(stderr,"got past initMimeBuf(STDIN_FILENO)\n");
 //fflush(stderr);
 mp = parseMultiParts(mb, cloneString(dy->string)); /* The Alternate Header will get freed */
 freeDyString(&dy);
 if(!mp->multi) /* expecting multipart child parts */
     errAbort("Malformatted multipart-form.");
 
 //debug
 //fprintf(stderr,"GALT: Wow got past parse of MIME!\n");
 //fflush(stderr);
 
-//debug
 ct = hashFindVal(mp->hdr,"content-type");
+//debug
 //fprintf(stderr,"GALT: main content-type: %s\n",ct);
 //fflush(stderr);
 if (!startsWith("multipart/form-data",ct))
     errAbort("main content-type expected starts with [multipart/form-data], found [%s]",ct);
 
 for(mp=mp->multi;mp;mp=mp->next)
     {
     char *cd = NULL, *cdMain = NULL, *cdName = NULL, *cdFileName = NULL, *ct = NULL;
     cd = hashFindVal(mp->hdr,"content-disposition");
     ct = hashFindVal(mp->hdr,"content-type");
     //debug
     //fprintf(stderr,"GALT: content-disposition: %s\n",cd);
     //fprintf(stderr,"GALT: content-type: %s\n",ct);
     //fflush(stderr);
     cdMain=getMimeHeaderMainVal(cd);