Mercurial > pidgin
changeset 20704:d6fb31898506
- Delete a strcmp that doesn't do anything useful and potentially causes
crashes. Thanks to Elliott Sales de Andrade.
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Sat, 29 Sep 2007 04:24:05 +0000 |
parents | 60ba0f4d86a5 |
children | 3e85d985d9f0 |
files | libpurple/plugins/ssl/ssl-gnutls.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/ssl/ssl-gnutls.c Sat Sep 29 04:01:14 2007 +0000 +++ b/libpurple/plugins/ssl/ssl-gnutls.c Sat Sep 29 04:24:05 2007 +0000 @@ -673,10 +673,8 @@ purple_debug_info("gnutls/x509", "Certificate for %s claims to be " "issued by %s, but the certificate " - "for %s does not match. A strcmp " - "says %d\n", - crt_id, crt_issuer_id, issuer_id, - strcmp(crt_issuer_id, issuer_id)); + "for %s does not match.\n", + crt_id, crt_issuer_id, issuer_id); g_free(crt_id); g_free(issuer_id); g_free(crt_issuer_id);