aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-11-03 12:59:20 +0100
committerHenrik Nord <[email protected]>2015-11-03 12:59:20 +0100
commit394cf96ac3f8dbde7f062fd24457e8114ad4f1ef (patch)
tree43f5f97fea9040fbd38e1142599a0eab1951699d
parente7a1da5017bf826cf2bbffda0d4ffcd561551031 (diff)
parent82393fda2f44841663b23c95879212f339a56474 (diff)
downloadotp-394cf96ac3f8dbde7f062fd24457e8114ad4f1ef.tar.gz
otp-394cf96ac3f8dbde7f062fd24457e8114ad4f1ef.tar.bz2
otp-394cf96ac3f8dbde7f062fd24457e8114ad4f1ef.zip
Merge branch 'maint'
-rw-r--r--system/doc/tutorial/ei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/tutorial/ei.c b/system/doc/tutorial/ei.c
index b234a00768..c33e3fb78e 100644
--- a/system/doc/tutorial/ei.c
+++ b/system/doc/tutorial/ei.c
@@ -21,7 +21,7 @@ int main() {
if (strncmp(ERL_ATOM_PTR(fnp), "foo", 3) == 0) {
res = foo(ERL_INT_VALUE(argp));
- } else if (strncmp(ERL_ATOM_PTR(fnp), "bar", 17) == 0) {
+ } else if (strncmp(ERL_ATOM_PTR(fnp), "bar", 3) == 0) {
res = bar(ERL_INT_VALUE(argp));
}