[BACK]Return to packet.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/packet.c between version 1.21 and 1.22

version 1.21, 2000/01/22 20:20:28 version 1.22, 2000/02/05 10:13:11
Line 505 
Line 505 
 {  {
         unsigned int len, padded_len;          unsigned int len, padded_len;
         unsigned char *ucp;          unsigned char *ucp;
         char buf[8], *cp;          char buf[8], *cp, *msg;
         unsigned int checksum, stored_checksum;          unsigned int checksum, stored_checksum;
   
 restart:  restart:
Line 575 
Line 575 
   
         /* Handle disconnect message. */          /* Handle disconnect message. */
         if ((unsigned char) buf[0] == SSH_MSG_DISCONNECT) {          if ((unsigned char) buf[0] == SSH_MSG_DISCONNECT) {
                 log("Received disconnect: %.900s", packet_get_string(NULL));                  msg = packet_get_string(NULL);
                   log("Received disconnect: %.900s", msg);
                   xfree(msg);
                 fatal_cleanup();                  fatal_cleanup();
         }          }
   
Line 585 
Line 587 
   
         /* Send debug messages as debugging output. */          /* Send debug messages as debugging output. */
         if ((unsigned char) buf[0] == SSH_MSG_DEBUG) {          if ((unsigned char) buf[0] == SSH_MSG_DEBUG) {
                 debug("Remote: %.900s", packet_get_string(NULL));                  msg = packet_get_string(NULL);
                   debug("Remote: %.900s", msg);
                   xfree(msg);
                 goto restart;                  goto restart;
         }          }
         /* Return type. */          /* Return type. */

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22