dlua-error.c (dovecot-2.3.16) | : | dlua-error.c (dovecot-2.3.17) | ||
---|---|---|---|---|
/* Copyright (c) 2021 Dovecot authors, see the included COPYING file */ | /* Copyright (c) 2021 Dovecot authors, see the included COPYING file */ | |||
#include "lib.h" | #include "lib.h" | |||
#include "dlua-script-private.h" | #include "dlua-script-private.h" | |||
int dluaL_error(lua_State *L, const char *fmt, ...) | int dluaL_error(lua_State *L, const char *fmt, ...) | |||
{ | { | |||
va_list argp; | va_list argp; | |||
va_start(argp, fmt); | va_start(argp, fmt); | |||
(void)dlua_pushvfstring(L, fmt, argp); | (void)dlua_push_vfstring(L, fmt, argp); | |||
va_end(argp); | va_end(argp); | |||
return lua_error(L); | return lua_error(L); | |||
} | } | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |