mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 00:03:03 +01:00
Totally misc.
This commit is contained in:
parent
3b7d7d37b5
commit
f85e3e2369
@ -142,7 +142,7 @@ void fatal_exception::raiseFmt(const char* format, ...) {
|
||||
va_start(args, format);
|
||||
char buffer[1024];
|
||||
VSNPRINTF(buffer, sizeof(buffer), format, args);
|
||||
buffer[sizeof(buffer)-1] = 0;
|
||||
buffer[sizeof(buffer) - 1] = 0;
|
||||
va_end(args);
|
||||
throw fatal_exception(buffer);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user