/pidgin/main: d1c41298bacd: Use gint64 to print a time_t. There ...
Michael McConville
mmcconville at mykolab.com
Mon Aug 10 19:10:45 EDT 2015
Changeset: d1c41298bacdaeb671460293ca5c413bf4dbecaf
Author: Michael McConville <mmcconville at mykolab.com>
Date: 2015-08-10 19:09 -0400
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/d1c41298bacd
Description:
Use gint64 to print a time_t. There are likely *many* more of these to come.
diffstat:
libpurple/protocols/oscar/clientlogin.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff --git a/libpurple/protocols/oscar/clientlogin.c b/libpurple/protocols/oscar/clientlogin.c
--- a/libpurple/protocols/oscar/clientlogin.c
+++ b/libpurple/protocols/oscar/clientlogin.c
@@ -378,12 +378,12 @@ static void send_start_oscar_session(Osc
"&distId=%d"
"&f=xml"
"&k=%s"
- "&ts=%" PURPLE_TIME_T_MODIFIER
+ "&ts=%" G_GINT64_FORMAT
"&useTLS=%d",
purple_url_encode(token),
oscar_get_ui_info_int(od->icq ? "prpl-icq-distid" : "prpl-aim-distid", 0x00000611),
get_client_key(od),
- hosttime,
+ (gint64)hosttime,
strcmp(encryption_type, OSCAR_NO_ENCRYPTION) != 0 ? 1 : 0);
signature = generate_signature("GET", get_start_oscar_session_url(od),
query_string, session_key);
More information about the Commits
mailing list