diff options
author | Henrik Nord <[email protected]> | 2011-03-25 14:55:50 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-03-25 14:55:50 +0100 |
commit | 21a514ba7842380973fd4c4006d6cf71403d021e (patch) | |
tree | ce4332309bdb5e53706d7782ac954a8eaee85724 /erts/example/next_perm.cc | |
parent | ad99d0e01d9c61dfad5e8a32dc587b61e2409edb (diff) | |
parent | 179de7d370b9e0398500d7d0e5ae34dd2ad6c619 (diff) | |
download | otp-21a514ba7842380973fd4c4006d6cf71403d021e.tar.gz otp-21a514ba7842380973fd4c4006d6cf71403d021e.tar.bz2 otp-21a514ba7842380973fd4c4006d6cf71403d021e.zip |
Merge branch 'ta/doc-fixes' into dev
* ta/doc-fixes:
Fix two typos in erlsrv log messages
Fix typo in epmd help
Fix typo in binary:part/2 example
Fix typos in efficiency guide
erts: Fix doc typos, duplication and readability
Fix inet:port/1 doc to match implementation/spec
Fix typos in zip manpage
Diffstat (limited to 'erts/example/next_perm.cc')
-rw-r--r-- | erts/example/next_perm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/example/next_perm.cc b/erts/example/next_perm.cc index ee81cb0404..1427cd3979 100644 --- a/erts/example/next_perm.cc +++ b/erts/example/next_perm.cc @@ -120,7 +120,7 @@ static void ready_async(ErlDrvData drv_data, ErlDrvThreadData async_data) ErlDrvPort port = reinterpret_cast<ErlDrvPort>(drv_data); our_async_data* d = reinterpret_cast<our_async_data*>(async_data); int n = d->data.size(), result_n = n*2 + 5; - ErlDrvTermData* result = new ErlDrvTermData[result_n], * rp = result; + ErlDrvTermData *result = new ErlDrvTermData[result_n], *rp = result; *rp++ = ERL_DRV_PORT; *rp++ = driver_mk_port(port); for (vector<int>::iterator i = d->data.begin(); |