From 5bbeb86b16369c9978d006b445b61a941895ccf3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Mar 2019 17:01:06 +0300 Subject: another SAL specification for format strings added --- include/m_netlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_netlib.h b/include/m_netlib.h index 6d7106a882..ce0c50e5e6 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -744,8 +744,8 @@ EXTERN_C MIR_APP_DLL(int) Netlib_StartSsl(HNETLIBCONN hConnection, const char *h EXTERN_C MIR_APP_DLL(int) Netlib_Log(HNETLIBUSER hUser, const char *pszStr); EXTERN_C MIR_APP_DLL(int) Netlib_LogW(HNETLIBUSER hUser, const wchar_t *pwszStr); -EXTERN_C MIR_APP_DLL(int) Netlib_Logf(HNETLIBUSER hUser, const char *fmt, ...); -EXTERN_C MIR_APP_DLL(int) Netlib_LogfW(HNETLIBUSER hUser, const wchar_t *fmt, ...); +EXTERN_C MIR_APP_DLL(int) Netlib_Logf(HNETLIBUSER hUser, _Printf_format_string_ const char *fmt, ...); +EXTERN_C MIR_APP_DLL(int) Netlib_LogfW(HNETLIBUSER hUser, _Printf_format_string_ const wchar_t *fmt, ...); ///////////////////////////////////////////////////////////////////////////////////////// // Security providers (0.6+) -- cgit v1.2.3