mirror of https://github.com/ipxe/ipxe.git
Minor style fix: structure fields are generally initialised in the
order in which they occur.pull/1/head
parent
14e1d3cc4d
commit
00d93c6dd9
|
@ -645,9 +645,9 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
|
||||||
xfer_init ( &tftp->xfer, &tftp_xfer_operations, &tftp->refcnt );
|
xfer_init ( &tftp->xfer, &tftp_xfer_operations, &tftp->refcnt );
|
||||||
tftp->uri = uri_get ( uri );
|
tftp->uri = uri_get ( uri );
|
||||||
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
|
xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
|
||||||
|
tftp->blksize = TFTP_DEFAULT_BLKSIZE;
|
||||||
tftp->state = -1;
|
tftp->state = -1;
|
||||||
tftp->timer.expired = tftp_timer_expired;
|
tftp->timer.expired = tftp_timer_expired;
|
||||||
tftp->blksize = TFTP_DEFAULT_BLKSIZE;
|
|
||||||
|
|
||||||
/* Open socket */
|
/* Open socket */
|
||||||
memset ( &server, 0, sizeof ( server ) );
|
memset ( &server, 0, sizeof ( server ) );
|
||||||
|
|
Loading…
Reference in New Issue