# HG changeset patch # User Daniel Atallah # Date 1142875671 0 # Node ID 43268b8234408f9da2cc00a2674d245d425ea08a # Parent fe9f41df4b0efaabdc31c967c494a31aee6bb1b4 [gaim-migrate @ 15906] NSPR and NSS errors are negative committer: Tailor Script diff -r fe9f41df4b0e -r 43268b823440 plugins/ssl/ssl-nss.c --- 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);