summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2016-03-23 10:06:12 +0000
committerKirill Volinsky <mataes2007@gmail.com>2016-03-23 10:06:12 +0000
commit04f670ac098e07fe1cf5770d0d77e77f3b756a6b (patch)
treea26cb7ca4da13bbb2312a92c078df2e338d44145 /protocols/Telegram/src
parent7e8aa70c724e6b72817cba090b7b178fd7f86341 (diff)
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
Diffstat (limited to 'protocols/Telegram/src')
-rw-r--r--protocols/Telegram/src/tgl/auto-static-fetch.c2
-rw-r--r--protocols/Telegram/src/tgl/auto-static-print-ds.c2
-rw-r--r--protocols/Telegram/src/tgl/queries.c4
3 files changed, 4 insertions, 4 deletions
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));