Fix uninitialized file descriptor
This commit is contained in:
parent
fce06c4b15
commit
1d6013fce4
1 changed files with 1 additions and 0 deletions
1
tftp.c
1
tftp.c
|
@ -238,6 +238,7 @@ int tftp_put(struct nmrpd_args *args)
|
|||
|
||||
sock = -1;
|
||||
ret = -1;
|
||||
fd = -1;
|
||||
|
||||
if (g_interrupted) {
|
||||
goto cleanup;
|
||||
|
|
Loading…
Add table
Reference in a new issue