From 04f670ac098e07fe1cf5770d0d77e77f3b756a6b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 23 Mar 2016 10:06:12 +0000 Subject: libevent moved to libs folder telegram not compiled yet git-svn-id: http://svn.miranda-ng.org/main/trunk@16524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Telegram/src/tgl/auto-static-fetch.c | 2 +- protocols/Telegram/src/tgl/auto-static-print-ds.c | 2 +- protocols/Telegram/src/tgl/queries.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Telegram/src/tgl') diff --git a/protocols/Telegram/src/tgl/auto-static-fetch.c b/protocols/Telegram/src/tgl/auto-static-fetch.c index 4d4e47cc5c..db32029ff2 100644 --- a/protocols/Telegram/src/tgl/auto-static-fetch.c +++ b/protocols/Telegram/src/tgl/auto-static-fetch.c @@ -10,7 +10,7 @@ static int out_buf_pos; #define eprintf(...) \ do { \ - out_buf_pos += snprintf (out_buf + out_buf_pos, OUT_BUF_SIZE - out_buf_pos, __VA_ARGS__);\ + out_buf_pos += _snprintf (out_buf + out_buf_pos, OUT_BUF_SIZE - out_buf_pos, __VA_ARGS__);\ assert (out_buf_pos < OUT_BUF_SIZE);\ } while (0)\ diff --git a/protocols/Telegram/src/tgl/auto-static-print-ds.c b/protocols/Telegram/src/tgl/auto-static-print-ds.c index cfec470fcc..cb006728d9 100644 --- a/protocols/Telegram/src/tgl/auto-static-print-ds.c +++ b/protocols/Telegram/src/tgl/auto-static-print-ds.c @@ -10,7 +10,7 @@ static int out_buf_pos; #define eprintf(...) \ do { \ - out_buf_pos += snprintf (out_buf + out_buf_pos, OUT_BUF_SIZE - out_buf_pos, __VA_ARGS__);\ + out_buf_pos += _snprintf (out_buf + out_buf_pos, OUT_BUF_SIZE - out_buf_pos, __VA_ARGS__);\ assert (out_buf_pos < OUT_BUF_SIZE);\ } while (0)\ diff --git a/protocols/Telegram/src/tgl/queries.c b/protocols/Telegram/src/tgl/queries.c index 374f78e1f1..6c22acc0b2 100644 --- a/protocols/Telegram/src/tgl/queries.c +++ b/protocols/Telegram/src/tgl/queries.c @@ -3733,7 +3733,7 @@ static int set_get_password_on_answer (struct tgl_state *TLS, struct query *q, v TLS->callback.get_values (TLS, tgl_new_password, "new password: ", 2, tgl_on_new_pwd, E); } else { static char s[512]; - snprintf (s, 511, "old password (hint %.*s): ", DS_RSTR (DS_AP->hint)); + _snprintf (s, 511, "old password (hint %.*s): ", DS_RSTR (DS_AP->hint)); TLS->callback.get_values (TLS, tgl_cur_and_new_password, s, 3, tgl_on_old_pwd, E); } return 0; @@ -3844,7 +3844,7 @@ static int check_get_password_on_answer (struct tgl_state *TLS, struct query *q, return 0; } static char s[512]; - snprintf (s, 511, "type password (hint %.*s): ", DS_RSTR (DS_AP->hint)); + _snprintf (s, 511, "type password (hint %.*s): ", DS_RSTR (DS_AP->hint)); struct check_password_extra *E = talloc0 (sizeof (*E)); -- cgit v1.2.3