Browse Source

Minor style fix: structure fields are generally initialised in the

order in which they occur.
tags/v0.9.3
Michael Brown 17 years ago
parent
commit
00d93c6dd9
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/udp/tftp.c

+ 1
- 1
src/net/udp/tftp.c View File

645
 	xfer_init ( &tftp->xfer, &tftp_xfer_operations, &tftp->refcnt );
645
 	xfer_init ( &tftp->xfer, &tftp_xfer_operations, &tftp->refcnt );
646
 	tftp->uri = uri_get ( uri );
646
 	tftp->uri = uri_get ( uri );
647
 	xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
647
 	xfer_init ( &tftp->socket, &tftp_socket_operations, &tftp->refcnt );
648
+	tftp->blksize = TFTP_DEFAULT_BLKSIZE;
648
 	tftp->state = -1;
649
 	tftp->state = -1;
649
 	tftp->timer.expired = tftp_timer_expired;
650
 	tftp->timer.expired = tftp_timer_expired;
650
-	tftp->blksize = TFTP_DEFAULT_BLKSIZE;
651
 
651
 
652
 	/* Open socket */
652
 	/* Open socket */
653
 	memset ( &server, 0, sizeof ( server ) );
653
 	memset ( &server, 0, sizeof ( server ) );

Loading…
Cancel
Save