Bläddra i källkod

Minor style fix: structure fields are generally initialised in the

order in which they occur.
tags/v0.9.3
Michael Brown 17 år sedan
förälder
incheckning
00d93c6dd9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/net/udp/tftp.c

+ 1
- 1
src/net/udp/tftp.c Visa fil

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

Laddar…
Avbryt
Spara