[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.64 and 1.65

version 1.64, 2001/05/31 10:30:16 version 1.65, 2001/06/07 20:23:04
Line 333 
Line 333 
 void  void
 packet_put_cstring(const char *str)  packet_put_cstring(const char *str)
 {  {
         buffer_put_string(&outgoing_packet, str, strlen(str));          buffer_put_cstring(&outgoing_packet, str);
 }  }
 void  void
 packet_put_raw(const char *buf, u_int len)  packet_put_raw(const char *buf, u_int len)
Line 1079 
Line 1079 
                 packet_put_cstring("");                  packet_put_cstring("");
         } else {          } else {
                 packet_start(SSH_MSG_DISCONNECT);                  packet_start(SSH_MSG_DISCONNECT);
                 packet_put_string(buf, strlen(buf));                  packet_put_cstring(buf);
         }          }
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65