From dfc58cca0a540d0ebf53a4e6fa5aad78cd85a2cd Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Sun, 22 Sep 2013 21:59:16 +0200 Subject: [PATCH 1/2] fix typo --- src/net/tls/gnutls/TLSSession_GnuTLS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/tls/gnutls/TLSSession_GnuTLS.cpp b/src/net/tls/gnutls/TLSSession_GnuTLS.cpp index 8297e779..52fedc78 100644 --- a/src/net/tls/gnutls/TLSSession_GnuTLS.cpp +++ b/src/net/tls/gnutls/TLSSession_GnuTLS.cpp @@ -152,7 +152,7 @@ TLSSession_GnuTLS::TLSSession_GnuTLS(ref c // Sets some default priority on the ciphers, key exchange methods, // macs and compression methods. -#if VMIME_HAVE_GNUTLS_PRIORITY_FUNCS +#ifdef VMIME_HAVE_GNUTLS_PRIORITY_FUNCS gnutls_dh_set_prime_bits(*m_gnutlsSession, 128); if ((res = gnutls_priority_set_direct From 8db7f446d7a54a19c60a9e154273918491056338 Mon Sep 17 00:00:00 2001 From: Mark Brand Date: Mon, 23 Sep 2013 01:18:43 +0200 Subject: [PATCH 2/2] update class name in example follow-up to 62828e20d483647a9d27bb42cb65943da0f75b78 --- examples/example6.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/example6.cpp b/examples/example6.cpp index c4acc1c5..e4b272a5 100644 --- a/examples/example6.cpp +++ b/examples/example6.cpp @@ -292,11 +292,11 @@ static std::ostream& operator<<(std::ostream& os, const vmime::exception& e) * @param s structure object * @param level current depth */ -static void printStructure(vmime::ref s, const int level = 0) +static void printStructure(vmime::ref s, const int level = 0) { for (int i = 0 ; i < s->getPartCount() ; ++i) { - vmime::ref part = s->getPartAt(i); + vmime::ref part = s->getPartAt(i); for (int j = 0 ; j < level * 2 ; ++j) std::cout << " ";