or a "filename" from the MIME parser.
$Log$
+Revision 213.19 2001/05/30 22:37:09 ajc
+* Fix to upload handler to recognize browser uploads based on *either* a "name"
+ or a "filename" from the MIME parser.
+
Revision 213.18 2001/05/30 01:06:57 ajc
* Changes to mime parser ... still something wrong
1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
* webserver.c: warning fix
+
fprintf(stderr, " type = %s\n", cbtype);
fprintf(stderr, " length = %ld\n", (long)length);
- if (strlen(name) > 0) {
+ if ( (strlen(name) > 0) || (strlen(filename) > 0) ) {
WC->upload = malloc(length);
if (WC->upload != NULL) {
WC->upload_length = length;