summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/tgl/queries.c
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/tgl/queries.c
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/tgl/queries.c')
-rw-r--r--protocols/Telegram/src/tgl/queries.c4
1 files changed, 2 insertions, 2 deletions
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));