summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-11 17:01:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-11 17:01:06 +0300
commit5bbeb86b16369c9978d006b445b61a941895ccf3 (patch)
treeb3a4e7ef3d934bb7c40ce966d67171287258b37f /include
parent37ed22ab43e74245169c9f49562c22ae978b2876 (diff)
another SAL specification for format strings added
Diffstat (limited to 'include')
-rw-r--r--include/m_netlib.h4
1 files changed, 2 insertions, 2 deletions
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+)