trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject trafficserver git commit: TS-3452: Better debug messages for SSL_ERROR_SSL: fixing format string warning
Date Tue, 17 Mar 2015 21:54:26 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 49d0ef822 -> a008a0a80


TS-3452: Better debug messages for SSL_ERROR_SSL: fixing format string warning


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/a008a0a8
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/a008a0a8
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/a008a0a8

Branch: refs/heads/master
Commit: a008a0a80cd9e32e6f45a404ffeb1619eb477fc7
Parents: 49d0ef8
Author: Brian Geffon <briang@apache.org>
Authored: Tue Mar 17 14:54:19 2015 -0700
Committer: Brian Geffon <briang@apache.org>
Committed: Tue Mar 17 14:54:19 2015 -0700

----------------------------------------------------------------------
 iocore/net/SSLUtils.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/a008a0a8/iocore/net/SSLUtils.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index eea8e98..93d04f3 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -2059,7 +2059,7 @@ SSLWriteBuffer(SSL * ssl, const void * buf, int64_t nbytes, int64_t&
nwritten)
     char buf[512];
     unsigned long e = ERR_get_error();
     ERR_error_string_n(e, buf, sizeof(buf));
-    Debug("ssl.error.write", "SSL write returned %d, ssl_error=%ld, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
+    Debug("ssl.error.write", "SSL write returned %d, ssl_error=%d, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
   }
   return ssl_error;
 }
@@ -2083,7 +2083,7 @@ SSLReadBuffer(SSL * ssl, void * buf, int64_t nbytes, int64_t& nread)
     char buf[512];
     unsigned long e = ERR_get_error();
     ERR_error_string_n(e, buf, sizeof(buf));
-    Debug("ssl.error.read", "SSL read returned %d, ssl_error=%ld, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
+    Debug("ssl.error.read", "SSL read returned %d, ssl_error=%d, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
   }
 
   return ssl_error;
@@ -2102,7 +2102,7 @@ SSLAccept(SSL * ssl)
     char buf[512];
     unsigned long e = ERR_get_error();
     ERR_error_string_n(e, buf, sizeof(buf));
-    Debug("ssl.error.accept", "SSL accept returned %d, ssl_error=%ld, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
+    Debug("ssl.error.accept", "SSL accept returned %d, ssl_error=%d, ERR_get_error=%d (%s)",
ret, ssl_error, e, buf);
   }
 
   return ssl_error;
@@ -2121,7 +2121,7 @@ SSLConnect(SSL * ssl)
      char buf[512];
      unsigned long e = ERR_get_error();
      ERR_error_string_n(e, buf, sizeof(buf));
-     Debug("ssl.error.connect", "SSL connect returned %d, ssl_error=%ld, ERR_get_error=%d
(%s)", ret, ssl_error, e, buf);
+     Debug("ssl.error.connect", "SSL connect returned %d, ssl_error=%d, ERR_get_error=%d
(%s)", ret, ssl_error, e, buf);
    }
 
    return ssl_error;


Mime
View raw message