jim 00/02/18 12:41:47
Modified: src/main http_core.c
Log:
Stupid logic error... should fix PR#5766
Revision Changes Path
1.281 +4 -4 apache-1.3/src/main/http_core.c
Index: http_core.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_core.c,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -r1.280 -r1.281
--- http_core.c 2000/02/05 00:33:21 1.280
+++ http_core.c 2000/02/18 20:41:47 1.281
@@ -1054,14 +1054,14 @@
return err;
}
if (!strcasecmp(arg, "Off")) {
- d->add_default_charset = 0;
+ d->add_default_charset = ADD_DEFAULT_CHARSET_OFF;
}
else if (!strcasecmp(arg, "On")) {
- d->add_default_charset = 1;
+ d->add_default_charset = ADD_DEFAULT_CHARSET_ON;
d->add_default_charset_name = DEFAULT_ADD_DEFAULT_CHARSET_NAME;
}
else {
- d->add_default_charset = 1;
+ d->add_default_charset = ADD_DEFAULT_CHARSET_ON;
d->add_default_charset_name = arg;
}
return NULL;
@@ -2819,7 +2819,7 @@
"Directory to plop gmon.out files" },
#endif
{ "AddDefaultCharset", set_add_default_charset, NULL, OR_FILEINFO,
- TAKE1, "The name of the default charset to add to any Content-Type without
one or 'None' to disable" },
+ TAKE1, "The name of the default charset to add to any Content-Type without
one or 'Off' to disable" },
/* Old resource config file commands */