/pidgin/main: 0a42907dce4f: Fix reversed display of activation a...
Daniel Atallah
datallah at pidgin.im
Fri Jul 12 17:53:09 EDT 2013
Changeset: 0a42907dce4f7a3cde2998d38863ee4d2083b201
Author: Daniel Atallah <datallah at pidgin.im>
Date: 2013-07-11 19:18 -0400
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/0a42907dce4f
Description:
Fix reversed display of activation and expiration dates.
diffstat:
libpurple/plugins/ssl/ssl-nss.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (17 lines):
diff --git a/libpurple/plugins/ssl/ssl-nss.c b/libpurple/plugins/ssl/ssl-nss.c
--- a/libpurple/plugins/ssl/ssl-nss.c
+++ b/libpurple/plugins/ssl/ssl-nss.c
@@ -984,11 +984,11 @@ x509_display_string(PurpleCertificate *c
activation = expiration = 0;
}
#if GLIB_CHECK_VERSION(2,26,0)
- act_dt = g_date_time_new_from_unix_local(expiration);
+ act_dt = g_date_time_new_from_unix_local(activation);
activ_str = g_date_time_format(act_dt, "%c");
g_date_time_unref(act_dt);
- exp_dt = g_date_time_new_from_unix_local(activation);
+ exp_dt = g_date_time_new_from_unix_local(expiration);
expir_str = g_date_time_format(exp_dt, "%c");
g_date_time_unref(exp_dt);
#else
More information about the Commits
mailing list