2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

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

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