david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Minor style fix: structure fields are generally initialised in the

order in which they occur.
This commit is contained in:
Michael Brown 2007-09-06 13:37:47 +01:00
parent 14e1d3cc4d
commit 00d93c6dd9
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) );