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

Diff for /src/usr.bin/ssh/Attic/bufaux.c between version 1.19 and 1.20

version 1.19, 2001/12/19 07:18:56 version 1.20, 2001/12/19 17:16:13
Line 187 
Line 187 
  * will be stored there.  A null character will be automatically appended   * will be stored there.  A null character will be automatically appended
  * to the returned string, and is not counted in length.   * to the returned string, and is not counted in length.
  */   */
 char *  void *
 buffer_get_string(Buffer *buffer, u_int *length_ptr)  buffer_get_string(Buffer *buffer, u_int *length_ptr)
 {  {
         u_int len;          u_int len;
         char *value;          u_char *value;
         /* Get the length. */          /* Get the length. */
         len = buffer_get_int(buffer);          len = buffer_get_int(buffer);
         if (len > 256 * 1024)          if (len > 256 * 1024)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20