[packet.c]
     debug->debug3 for extra padding
This commit is contained in:
Ben Lindstrom 2002-03-26 02:09:41 +00:00
parent 3dc40f997b
commit 8b08d8115d
2 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,9 @@
- markus@cvs.openbsd.org 2002/03/24 16:00:27
[serverloop.c]
remove unused debug
- markus@cvs.openbsd.org 2002/03/24 16:01:13
[packet.c]
debug->debug3 for extra padding
20020324
- (stevesk) [session.c] disable LOGIN_NEEDS_TERM until we are sure
@ -8021,4 +8024,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.1979 2002/03/26 02:01:30 mouring Exp $
$Id: ChangeLog,v 1.1980 2002/03/26 02:09:41 mouring Exp $

View File

@ -37,7 +37,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: packet.c,v 1.92 2002/03/19 10:49:35 markus Exp $");
RCSID("$OpenBSD: packet.c,v 1.93 2002/03/24 16:01:13 markus Exp $");
#include "xmalloc.h"
#include "buffer.h"
@ -644,7 +644,7 @@ packet_send2(void)
/* will wrap if extra_pad+padlen > 255 */
extra_pad = roundup(extra_pad, block_size);
pad = extra_pad - ((len + padlen) % extra_pad);
debug("packet_send2: adding %d (len %d padlen %d extra_pad %d)",
debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)",
pad, len, padlen, extra_pad);
padlen += pad;
extra_pad = 0;