--- parser3/src/targets/isapi/parser3isapi.C 2026/10/10 02:01:15 1.141 +++ parser3/src/targets/isapi/parser3isapi.C 2026/10/18 21:05:35 1.142 @@ -5,7 +5,7 @@ Authors: Konstantin Morshnev , Alexandr Petrosian */ -volatile const char * IDENT_PARSER3ISAPI_C="$Id: parser3isapi.C,v 1.141 2026/10/10 02:01:15 moko Exp $"; +volatile const char * IDENT_PARSER3ISAPI_C="$Id: parser3isapi.C,v 1.142 2026/10/18 21:05:35 moko Exp $"; #ifndef _MSC_VER # error compile ISAPI module with MSVC [no urge for now to make it autoconf-ed (PAF)] @@ -82,7 +82,7 @@ void SAPI::log(SAPI_Info& SAPI_info, con const char* prefix="PARSER_ERROR:"; strcpy(buf, prefix); char *start=buf+strlen(prefix); - DWORD size=vsnprintf(start, MAX_LOG_STRING-strlen(prefix), fmt, args); + DWORD size=pa_vsnprintf(start, MAX_LOG_STRING-strlen(prefix), fmt, args); size=remove_crlf(start, start+size); SAPI_info.lpECB->ServerSupportFunction(SAPI_info.lpECB->ConnID, HSE_APPEND_LOG_PARAMETER, buf, &size, 0); @@ -231,7 +231,7 @@ void SAPI::send_headers(SAPI_Info& SAPI_ header_info.pszStatus="401 Authorization Required"; break; default: - snprintf(status_buf, MAX_STATUS_LENGTH, + pa_snprintf(status_buf, MAX_STATUS_LENGTH, "%d Undescribed", SAPI_info.http_response_code); header_info.pszStatus=status_buf; break; @@ -350,7 +350,7 @@ void real_parser_handler(SAPI_Info& SAPI beside_binary_path[0]='.'; beside_binary_path[1]=0; } char config_filespec[MAX_STRING]; - snprintf(config_filespec, MAX_STRING, "%s/%s", beside_binary_path, AUTO_FILE_NAME); + pa_snprintf(config_filespec, MAX_STRING, "%s/%s", beside_binary_path, AUTO_FILE_NAME); // process the request request.core(entry_exists(config_filespec) ? config_filespec : NULL);