http://git.etherboot.org
/
people
/
pcmattman
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e1d3c
)
Minor style fix: structure fields are generally initialised in the
author
Michael Brown
<mcb30@etherboot.org>
Thu, 6 Sep 2007 12:37:47 +0000
(13:37 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Thu, 6 Sep 2007 12:37:47 +0000
(13:37 +0100)
order in which they occur.
src/net/udp/tftp.c
patch
|
blob
|
history
diff --git
a/src/net/udp/tftp.c
b/src/net/udp/tftp.c
index
6c1c51b
..
74c8c0a
100644
(file)
--- a/
src/net/udp/tftp.c
+++ b/
src/net/udp/tftp.c
@@
-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 ) );