[bufaux.c]
     %u for u_int
This commit is contained in:
Ben Lindstrom 2002-11-09 15:43:23 +00:00
parent 0cc2a47674
commit ee844912c9
2 changed files with 6 additions and 3 deletions

View File

@ -6,6 +6,9 @@
- markus@cvs.openbsd.org 2002/10/23 10:32:13
[packet.c]
use %u for u_int
- markus@cvs.openbsd.org 2002/10/23 10:40:16
[bufaux.c]
%u for u_int
20021021
- (djm) Bug #400: Kill ssh-rand-helper children on timeout, patch from
@ -783,4 +786,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@
$Id: ChangeLog,v 1.2501 2002/11/09 15:41:39 mouring Exp $
$Id: ChangeLog,v 1.2502 2002/11/09 15:43:23 mouring Exp $

View File

@ -37,7 +37,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: bufaux.c,v 1.27 2002/06/26 08:53:12 markus Exp $");
RCSID("$OpenBSD: bufaux.c,v 1.28 2002/10/23 10:40:16 markus Exp $");
#include <openssl/bn.h>
#include "bufaux.h"
@ -225,7 +225,7 @@ buffer_get_string(Buffer *buffer, u_int *length_ptr)
/* Get the length. */
len = buffer_get_int(buffer);
if (len > 256 * 1024)
fatal("buffer_get_string: bad string length %d", len);
fatal("buffer_get_string: bad string length %u", len);
/* Allocate space for the string. Add one byte for a null character. */
value = xmalloc(len + 1);
/* Get the string. */