aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-09-29 12:39:26 +0200
committerHans Bolinder <[email protected]>2015-10-09 11:37:55 +0200
commit18042b7fd5510cfa355cc6ce057ba5b936a7c498 (patch)
tree73098a709d769718ef7ae10b716cc980f5587881 /lib/inets
parent93e1b6fc08c688b03d35a30db4bf3d3c464f330a (diff)
downloadotp-18042b7fd5510cfa355cc6ce057ba5b936a7c498.tar.gz
otp-18042b7fd5510cfa355cc6ce057ba5b936a7c498.tar.bz2
otp-18042b7fd5510cfa355cc6ce057ba5b936a7c498.zip
Update Inets
A record field type has been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/src/tftp/tftp_engine.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/inets/src/tftp/tftp_engine.erl b/lib/inets/src/tftp/tftp_engine.erl
index d0510e795b..282a97e720 100644
--- a/lib/inets/src/tftp/tftp_engine.erl
+++ b/lib/inets/src/tftp/tftp_engine.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2005-2009. All Rights Reserved.
+%% Copyright Ericsson AB 2005-2015. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -63,7 +63,8 @@
-record(file_info, {peer_req, pid}).
-record(sys_misc, {module, function, arguments}).
-record(error, {where, code, text, filename}).
--record(prepared, {status :: prep_status(), result, block_no, next_data, prev_data}).
+-record(prepared, {status :: prep_status() | 'undefined',
+ result, block_no, next_data, prev_data}).
-record(transfer_res, {status, decoded_msg, prepared}).
-define(ERROR(Where, Code, Text, Filename),
#error{where = Where, code = Code, text = Text, filename = Filename}).