Mercurial > pidgin.yaz
diff plugins/ssl/ssl-nss.c @ 13529:43268b823440
[gaim-migrate @ 15906]
NSPR and NSS errors are negative
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 20 Mar 2006 17:27:51 +0000 |
parents | a587a6c6149c |
children | c8ebbc0110f4 |
line wrap: on
line diff
--- a/plugins/ssl/ssl-nss.c Mon Mar 20 15:07:09 2006 +0000 +++ b/plugins/ssl/ssl-nss.c Mon Mar 20 17:27:51 2006 +0000 @@ -220,7 +220,7 @@ if (errno == EAGAIN || errno == EWOULDBLOCK) return; - gaim_debug_error("nss", "Handshake failed %u\n", PR_GetError()); + gaim_debug_error("nss", "Handshake failed %d\n", PR_GetError()); if (gsc->error_cb != NULL) gsc->error_cb(gsc, GAIM_SSL_HANDSHAKE_FAILED, gsc->connect_cb_data); @@ -265,7 +265,7 @@ socket_opt.value.non_blocking = PR_TRUE; if (PR_SetSocketOption(nss_data->fd, &socket_opt) != PR_SUCCESS) - gaim_debug_warning("nss", "unable to set socket into non-blocking mode: %u\n", PR_GetError()); + gaim_debug_warning("nss", "unable to set socket into non-blocking mode: %d\n", PR_GetError()); nss_data->in = SSL_ImportFD(NULL, nss_data->fd);