[Pkg-wmaker-commits] [wmbiff] 56/84: trivial formatting fixes
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:01:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_10
in repository wmbiff.
commit 7d6f438e33c949abdee2ee7b2cfcecf90f243ebe
Author: bluehal <bluehal>
Date: Sat Jul 27 17:50:26 2002 +0000
trivial formatting fixes
---
wmbiff/Imap4Client.c | 4 ++--
wmbiff/tlsComm.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/wmbiff/Imap4Client.c b/wmbiff/Imap4Client.c
index f374735..a705618 100644
--- a/wmbiff/Imap4Client.c
+++ b/wmbiff/Imap4Client.c
@@ -442,7 +442,7 @@ static int authenticate_md5(Pop3 pc,
}
tlscomm_printf(scs, "a007 AUTHENTICATE CRAM-MD5\r\n");
- if (!tlscomm_expect(scs, "+ ", buf, BUF_SIZE))
+ if (tlscomm_expect(scs, "+ ", buf, BUF_SIZE) == 0)
goto expect_failure;
Decode_Base64(buf + 2, buf2);
@@ -464,7 +464,7 @@ static int authenticate_md5(Pop3 pc,
Encode_Base64(buf, buf2);
tlscomm_printf(scs, "%s\r\n", buf2);
- if (!tlscomm_expect(scs, "a007 ", buf, BUF_SIZE))
+ if (tlscomm_expect(scs, "a007 ", buf, BUF_SIZE) == 0)
goto expect_failure;
if (!strncmp(buf, "a007 OK", 7))
diff --git a/wmbiff/tlsComm.c b/wmbiff/tlsComm.c
index 9933275..4ccddd4 100644
--- a/wmbiff/tlsComm.c
+++ b/wmbiff/tlsComm.c
@@ -432,7 +432,8 @@ void handle_gnutls_read_error(int readbytes, struct connection_state *scs)
TDM(DEBUG_ERROR, "* Received HelloRequest message\n");
}
TDM(DEBUG_ERROR,
- "%s: error reading: %s\n", scs->name, gnutls_strerror(readbytes));
+ "%s: gnutls error reading: %s\n",
+ scs->name, gnutls_strerror(readbytes));
}
#else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list