diff src/ch/ethz/ssh2/packets/PacketIgnore.java @ 308:42b15aaa7ac7 ganymed

merge
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:21:50 -0700
parents 071eccdff8ea
children
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/packets/PacketIgnore.java	Wed Jul 30 13:38:04 2014 -0700
+++ b/src/ch/ethz/ssh2/packets/PacketIgnore.java	Wed Jul 30 14:21:50 2014 -0700
@@ -19,12 +19,13 @@
         TypesWriter tw = new TypesWriter();
         tw.writeByte(Packets.SSH_MSG_IGNORE);
 
-        if(data != null) {
+        if (data != null) {
             tw.writeString(data, 0, data.length);
         }
         else {
             tw.writeString("");
         }
+
         payload = tw.getBytes();
     }