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