From: Michael Brown Date: Thu, 6 Sep 2007 12:37:47 +0000 (+0100) Subject: Minor style fix: structure fields are generally initialised in the X-Git-Tag: v0.9.3~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00d93c6dd90b00de6e354d22ddc188d08fabf0b9;p=thirdparty%2Fipxe.git Minor style fix: structure fields are generally initialised in the order in which they occur. --- diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c index 6c1c51b01..74c8c0a5f 100644 --- a/src/net/udp/tftp.c +++ b/src/net/udp/tftp.c @@ -645,9 +645,9 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) { xfer_init ( &tftp->xfer, &tftp_xfer_operations, &tftp->refcnt ); tftp->uri = uri_get ( uri ); xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt ); + tftp->blksize = TFTP_DEFAULT_BLKSIZE; tftp->state = -1; tftp->timer.expired = tftp_timer_expired; - tftp->blksize = TFTP_DEFAULT_BLKSIZE; /* Open socket */ memset ( &server, 0, sizeof ( server ) );