[gaim-migrate @ 15906]

Mon, 20 Mar 2006 17:27:51 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Mon, 20 Mar 2006 17:27:51 +0000
changeset 13530
2fbf309637b2
parent 13529
074c6ed5e547
child 13531
ba11a1070b76

[gaim-migrate @ 15906]
NSPR and NSS errors are negative

plugins/ssl/ssl-nss.c file | annotate | diff | comparison | revisions
--- 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);
 

mercurial