From 1222a9ce643ef287debdb6c76939eceb12ef0c7d Mon Sep 17 00:00:00 2001 From: Steve Vinoski Date: Sat, 29 May 2010 20:21:24 -0400 Subject: fix typo in ei_decode_ei_term documentation Change "encoding" to "decoding" where the documentation describes the return value 0. --- lib/erl_interface/doc/src/ei.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/erl_interface') diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml index 9083ae02b0..d7af7a1b67 100644 --- a/lib/erl_interface/doc/src/ei.xml +++ b/lib/erl_interface/doc/src/ei.xml @@ -581,7 +581,7 @@ ei_x_encode_empty_list(&x); union, it is decoded, and the appropriate field in value]]> is set, and is incremented by the term size.

-

The function returns 0 on successful encoding, -1 on error, +

The function returns 0 on successful decoding, -1 on error, and 1 if the term seems alright, but does not fit in the structure. If it returns 0, the will be incremented, and the contains the -- cgit v1.2.3