diff options
author | Tuncer Ayaz <[email protected]> | 2011-02-01 22:25:53 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-03-25 14:40:08 +0100 |
commit | b2f3b6b3b254015e0fd6540353b22ccb3df71bf7 (patch) | |
tree | 881d6da84517d9cd79631710fbf3660814256dde /erts/example | |
parent | aeb8dc04fb03c98bc449319d799dc9cfc0a46e64 (diff) | |
download | otp-b2f3b6b3b254015e0fd6540353b22ccb3df71bf7.tar.gz otp-b2f3b6b3b254015e0fd6540353b22ccb3df71bf7.tar.bz2 otp-b2f3b6b3b254015e0fd6540353b22ccb3df71bf7.zip |
erts: Fix doc typos, duplication and readability
Diffstat (limited to 'erts/example')
-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(); |