mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
minor stylistic cleanup
This commit is contained in:
1 parent
6708faafde
commit
cbe20661f6
1 file changed
+2
-1
@@ -75,7 +75,8 @@ tftp_open (struct grub_file *file, const char *filename)
|
||||
rrq += grub_strlen ("0") + 1;
|
||||
hdrlen = sizeof (tftph->opcode) + rrqlen;
|
||||
|
||||
if ((err = grub_netbuff_unput (&nb, nb.tail - (nb.data + hdrlen))) != GRUB_ERR_NONE)
|
||||
err = grub_netbuff_unput (&nb, nb.tail - (nb.data + hdrlen));
|
||||
if (err)
|
||||
return err;
|
||||
file->device->net->socket->out_port = TFTP_SERVER_PORT;
|
||||
|
||||
|
||||
Reference in new issue
Block a user