changeset 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 fe9f41df4b0e
children 2e10680b7545
files plugins/ssl/ssl-nss.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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);