--- parser3/src/main/untaint.C 2003/03/27 10:53:01 1.115.2.12.2.18 +++ parser3/src/main/untaint.C 2003/04/07 05:38:32 1.115.2.12.2.19 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_UNTAINT_C="$Date: 2003/03/27 10:53:01 $"; +static const char* IDENT_UNTAINT_C="$Date: 2003/04/07 05:38:32 $"; #include "pa_string.h" @@ -17,6 +17,7 @@ static const char* IDENT_UNTAINT_C="$Dat #include "pa_common.h" #include "pa_charset.h" #include "pa_request_charsets.h" +#include "pa_sapi.h" extern "C" { // author forgot to do that #include "ec.h" @@ -437,10 +438,8 @@ StringBody String::cstr_to_string_body(L }); break; default: - throw Exception(0, - 0, - "unknown untaint language #%d", - static_cast(to_lang)); // should never + SAPI::die("unknown untaint language #%d", + static_cast(to_lang)); // should never break; // never } }