This closes #953

This commit is contained in:
Clebert Suconic 2017-01-09 14:58:25 -05:00
commit 0386263c83
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ public class ProtonHandler extends ProtonInitializable {
serverSasl.recv(dataSASL, 0, dataSASL.length);
if (log.isTraceEnabled()) {
log.trace("Working on sasl::" + ByteUtil.bytesToHex(dataSASL, 2));
log.trace("Working on sasl::" + (dataSASL != null && dataSASL.length > 0 ? ByteUtil.bytesToHex(dataSASL, 2) : "Anonymous"));
}
saslResult = mechanism.processSASL(dataSASL);