Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/include/arpa Pull up revision 1.6 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/227f1e998982
branches:  netbsd-1-5
changeset: 490681:227f1e998982
user:      he <he%NetBSD.org@localhost>
date:      Mon Feb 26 16:59:50 2001 +0000

description:
Pull up revision 1.6 (requested by he):
  Use unsigned variables for block number, thus allowing transfer
  of up to 32M files instead of 16M.

diffstat:

 include/arpa/tftp.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b83726c6bda4 -r 227f1e998982 include/arpa/tftp.h
--- a/include/arpa/tftp.h       Mon Feb 26 16:59:29 2001 +0000
+++ b/include/arpa/tftp.h       Mon Feb 26 16:59:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tftp.h,v 1.5 1998/02/10 00:32:59 perry Exp $   */
+/*     $NetBSD: tftp.h,v 1.5.10.1 2001/02/26 16:59:50 he Exp $ */
 
 /*
  * Copyright (c) 1983, 1993
@@ -55,7 +55,7 @@
 struct tftphdr {
        short   th_opcode;              /* packet type */
        union {
-               short   tu_block;       /* block # */
+               unsigned short tu_block; /* block # */
                short   tu_code;        /* error code */
                char    tu_stuff[1];    /* request packet stuff */
        } th_u;



Home | Main Index | Thread Index | Old Index