mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 20:10:18 +03:00
Minor style fix: structure fields are generally initialised in the
order in which they occur.
This commit is contained in:
@@ -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 ) );
|
||||
|
||||
Reference in New Issue
Block a user