--- parser3/src/main/untaint.C 2017/05/29 11:00:22 1.173 +++ parser3/src/main/untaint.C 2020/12/15 17:10:37 1.176 @@ -1,11 +1,11 @@ /** @file Parser: String class part: untaint mechanizm. - Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2020 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ -volatile const char * IDENT_UNTAINT_C="$Id: untaint.C,v 1.173 2017/05/29 11:00:22 moko Exp $"; +volatile const char * IDENT_UNTAINT_C="$Id: untaint.C,v 1.176 2020/12/15 17:10:37 moko Exp $"; #include "pa_string.h" @@ -20,7 +20,7 @@ volatile const char * IDENT_UNTAINT_C="$ #include "pa_sapi.h" extern "C" { // author forgot to do that -#include "ec.h" +#include "../lib/cord/include/ec.h" } #include "pa_sql_connection.h" @@ -579,8 +579,7 @@ int cstr_to_string_body_block(String::La ); break; default: - SAPI::abort("unknown untaint language #%d", - static_cast(to_lang)); // should never + SAPI::die("unknown untaint language #%d", static_cast(to_lang)); // should never break; // never }