diff --git a/src/lib_ccx/ccx_encoders_python.c b/src/lib_ccx/ccx_encoders_python.c index ea65acb3..196e61c9 100644 --- a/src/lib_ccx/ccx_encoders_python.c +++ b/src/lib_ccx/ccx_encoders_python.c @@ -14,7 +14,7 @@ void Asprintf(char **strp, const char *fmt, ...) { if (ret == -1) { printf("Error: Some problem with asprintf return value in extractor.c\nExiting."); - exit(500); + exit(CCX_COMMON_EXIT_BUG_BUG); } } diff --git a/src/lib_ccx/utility.c b/src/lib_ccx/utility.c index e5cc3cff..5482f298 100644 --- a/src/lib_ccx/utility.c +++ b/src/lib_ccx/utility.c @@ -654,7 +654,7 @@ int vasprintf(char **strp, const char *fmt, va_list ap) va_copy(tmp_va, ap); #ifdef _WIN32 - len = _vscprintf(fmt, ap1); + len = _vscprintf(fmt, ap); #else len = vsnprintf(NULL, 0, fmt, tmp_va); #endif diff --git a/windows/ccextractor.vcxproj b/windows/ccextractor.vcxproj index 9588d498..218dcd7e 100644 --- a/windows/ccextractor.vcxproj +++ b/windows/ccextractor.vcxproj @@ -134,7 +134,6 @@ - diff --git a/windows/ccextractor.vcxproj.filters b/windows/ccextractor.vcxproj.filters index 58ec5e6f..45697b5d 100644 --- a/windows/ccextractor.vcxproj.filters +++ b/windows/ccextractor.vcxproj.filters @@ -833,9 +833,6 @@ Source Files\lib_ccx - - Source Files - Source Files